summaryrefslogtreecommitdiff
path: root/tests/extmod/urandom_extra.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/urandom_extra.py')
-rw-r--r--tests/extmod/urandom_extra.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/extmod/urandom_extra.py b/tests/extmod/urandom_extra.py
index f5a34e168..0cfd9280b 100644
--- a/tests/extmod/urandom_extra.py
+++ b/tests/extmod/urandom_extra.py
@@ -67,13 +67,3 @@ try:
random.choice([])
except IndexError:
print('IndexError')
-
-print('random')
-for i in range(50):
- assert 0 <= random.random() < 1
-
-print('uniform')
-for i in range(50):
- assert 0 <= random.uniform(0, 4) <= 4
- assert 2 <= random.uniform(2, 6) <= 6
- assert -2 <= random.uniform(-2, 2) <= 2