Skip to content

gh-126028: Add more tests for msvcrt module #126029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
aisk committed Jul 17, 2025
commit 62a83898f53d1f932b3121b564be839988248c69
2 changes: 1 addition & 1 deletion Lib/test/test_msvcrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_SetErrorMode(self):
self.assertEqual(old, returned)

msvcrt.SetErrorMode(-1)
msvcrt.SetErrorMode(2**32) # max unsigned int
msvcrt.SetErrorMode(2**32-1) # max unsigned int
msvcrt.SetErrorMode(-2**31)

@unittest.skipUnless(Py_DEBUG, "only available under debug build")
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy