We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2009c commit 2a3e50aCopy full SHA for 2a3e50a
Lib/test/test_posix.py
@@ -594,10 +594,10 @@ def test_sysconf(self):
594
):
595
posix.sysconf(1.23)
596
597
- open_max = posix.sysconf("SC_OPEN_MAX")
598
- self.assertGreater(open_max, 0)
+ arg_max = posix.sysconf("SC_ARG_MAX")
+ self.assertGreater(arg_max, 0)
599
self.assertEqual(
600
- posix.sysconf(posix.sysconf_names["SC_OPEN_MAX"]), open_max)
+ posix.sysconf(posix.sysconf_names["SC_ARG_MAX"]), arg_max)
601
602
@unittest.skipUnless(hasattr(posix, 'dup2'),
603
'test needs posix.dup2()')
0 commit comments