From: Pablo Galindo Date: Thu, 7 Dec 2017 06:55:44 +0000 (+0000) Subject: Fix hardcoded value in test_os.py (#4744) X-Git-Tag: v3.7.0a4~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb77e0d855e841f42c3fa504efe79eefca9efafb;p=python Fix hardcoded value in test_os.py (#4744) --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 96ee3ee577..2241256909 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):