summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2017-12-07 06:55:44 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-12-07 06:55:44 (GMT)
commitfb77e0d855e841f42c3fa504efe79eefca9efafb (patch)
treee6f60ba8c4aedaff0c2d99e25fd3eacd7bf032c8 /Lib/test/test_os.py
parent9ab11b3a029fba36c1a7e869be87fb4f31ebcf24 (diff)
downloadcpython-fb77e0d855e841f42c3fa504efe79eefca9efafb.zip
cpython-fb77e0d855e841f42c3fa504efe79eefca9efafb.tar.gz
cpython-fb77e0d855e841f42c3fa504efe79eefca9efafb.tar.bz2
Fix hardcoded value in test_os.py (#4744)
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 96ee3ee..2241256 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):