diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_e2e.py | 1 | ||||
-rw-r--r-- | test/util.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/test/test_e2e.py b/test/test_e2e.py index 0add868..66c6f63 100644 --- a/test/test_e2e.py +++ b/test/test_e2e.py @@ -1,6 +1,5 @@ import pytest -import numpy import hashlib import os 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) |