X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/ffad1322bf20f0244658afcc4a799a9ea022ddd8..f3e229044acf6dacc2e3428ac15e4b69772e3e8a:/t/t-passphrase.py diff --git a/t/t-passphrase.py b/t/t-passphrase.py index 9cc80a9..d9a985a 100644 --- a/t/t-passphrase.py +++ b/t/t-passphrase.py @@ -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