X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/blobdiff_plain/b2e2c7eef3e99fc9ad23e1b69020ff0fc722ba61..e7054c9275c9a4a5d0d677ab027e0c710b24df73:/t/testutils.py diff --git a/t/testutils.py b/t/testutils.py index 0ba49c6..67bcc0e 100644 --- a/t/testutils.py +++ b/t/testutils.py @@ -99,10 +99,9 @@ def prep_lenseq(w, n, bigendp, goodp): span(n) + \ byteseq([0xff]) -Z64 = C.ByteString.zero(8) def detrand(seed): """Return a fast deterministic random generator with the given SEED.""" - return C.chacha8rand(C.sha256().hash(bin(seed)).done(), Z64) + return C.chacha8rand(C.sha256().hash(bin(seed)).done()) class GenericTestMixin (U.TestCase): """