ec.c, field.c, group.c, mp.c: Fix conversions in `pow' and scalar mul.
[catacomb-python] / t / t-passphrase.py
index 9cc80a9..d9a985a 100644 (file)
@@ -46,7 +46,7 @@ class PixieTestCase (U.TestCase):
     pix = "pixie-py%d.%d%s" % (SYS.version_info[0],
                                SYS.version_info[1],
                                T.DEBUGP and "dbg" or "")
-    me.token = hex(C.rand.block(8))
+    me.token = C.rand.block(8).hex()
     try: OS.mkdir(OS.path.join("build", pix), int("700", 8))
     except OSError:
       if SYS.exc_info()[1].errno == E.EEXIST: pass