Commit fb77e0d8 authored by Pablo Galindo's avatar Pablo Galindo Committed by Victor Stinner

Fix hardcoded value in test_os.py (#4744)

parent 9ab11b3a
...@@ -1321,7 +1321,7 @@ class URandomTests(unittest.TestCase): ...@@ -1321,7 +1321,7 @@ class URandomTests(unittest.TestCase):
'sys.stdout.buffer.flush()')) 'sys.stdout.buffer.flush()'))
out = assert_python_ok('-c', code) out = assert_python_ok('-c', code)
stdout = out[1] stdout = out[1]
self.assertEqual(len(stdout), 16) self.assertEqual(len(stdout), count)
return stdout return stdout
def test_urandom_subprocess(self): def test_urandom_subprocess(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment