diff options
Diffstat (limited to 'test/util.py')
-rw-r--r-- | test/util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/util.py b/test/util.py index 76ac49e..ef68ca9 100644 --- a/test/util.py +++ b/test/util.py @@ -1,6 +1,5 @@ import hashlib -import numpy import os @@ -39,7 +38,7 @@ class File(): def make_content_random(self): with open(self.path, "wb") as f: - f.write(numpy.random.bytes(self.size)) + f.write(os.urandom(self.size)) def cleanup(self): os.remove(self.path) |