summaryrefslogtreecommitdiff
path: root/test/util.py
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-03-10 22:06:46 +0900
committerRyo Nakamura <upa@haeena.net>2023-03-10 22:07:07 +0900
commitd22c02b7936691340ea0efd097565a87151458fb (patch)
treeb102961c5162d2ee0af9ce1b330512033d1e394e /test/util.py
parent2477647a3bf66d9dceed301622076079529f1689 (diff)
remove numpy from test, and fix compiling single binary mscp
Diffstat (limited to 'test/util.py')
-rw-r--r--test/util.py3
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)