diff options
author | Ryo Nakamura <upa@haeena.net> | 2023-03-10 22:06:46 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2023-03-10 22:07:07 +0900 |
commit | d22c02b7936691340ea0efd097565a87151458fb (patch) | |
tree | b102961c5162d2ee0af9ce1b330512033d1e394e /test | |
parent | 2477647a3bf66d9dceed301622076079529f1689 (diff) |
remove numpy from test, and fix compiling single binary mscp
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) |