Skip to content

Commit 62a8389

Browse files
committed
Fix test
1 parent c5c4005 commit 62a8389

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_msvcrt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_SetErrorMode(self):
142142
self.assertEqual(old, returned)
143143

144144
msvcrt.SetErrorMode(-1)
145-
msvcrt.SetErrorMode(2**32) # max unsigned int
145+
msvcrt.SetErrorMode(2**32-1) # max unsigned int
146146
msvcrt.SetErrorMode(-2**31)
147147

148148
@unittest.skipUnless(Py_DEBUG, "only available under debug build")

0 commit comments

Comments
 (0)