diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 96ee3ee577f..22412569092 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1321,7 +1321,7 @@ class URandomTests(unittest.TestCase): 'sys.stdout.buffer.flush()')) out = assert_python_ok('-c', code) stdout = out[1] - self.assertEqual(len(stdout), 16) + self.assertEqual(len(stdout), count) return stdout def test_urandom_subprocess(self):