Fix hardcoded value in test_os.py (#4744) · python/cpython@fb77e0d (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit fb77e0d
authored and
committed
Fix hardcoded value in test_os.py (#4744)
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1321,7 +1321,7 @@ def get_urandom_subprocess(self, count): | ||
1321 | 1321 | 'sys.stdout.buffer.flush()')) |
1322 | 1322 | out = assert_python_ok('-c', code) |
1323 | 1323 | stdout = out[1] |
1324 | -self.assertEqual(len(stdout), 16) | |
1324 | +self.assertEqual(len(stdout), count) | |
1325 | 1325 | return stdout |
1326 | 1326 | |
1327 | 1327 | def test_urandom_subprocess(self): |