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 c5c4005 commit 62a8389Copy full SHA for 62a8389
1 file changed
Lib/test/test_msvcrt.py
@@ -142,7 +142,7 @@ def test_SetErrorMode(self):
142
self.assertEqual(old, returned)
143
144
msvcrt.SetErrorMode(-1)
145
- msvcrt.SetErrorMode(2**32) # max unsigned int
+ msvcrt.SetErrorMode(2**32-1) # max unsigned int
146
msvcrt.SetErrorMode(-2**31)
147
148
@unittest.skipUnless(Py_DEBUG, "only available under debug build")
0 commit comments