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 another two typos
  • Loading branch information
aisk committed Oct 27, 2024
commit f76b823fbfa14be612c24d8401d394a6373733b3
4 changes: 2 additions & 2 deletions Lib/test/test_msvcrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ def test_set_error_mode(self):
old = msvcrt.set_error_mode(msvcrt.OUT_TO_STDERR)
msvcrt.set_error_mode(old)

@unittest.skipUnless(Py_DEBUG, "only avialable under debug build")
@unittest.skipUnless(Py_DEBUG, "only available under debug build")
def test_CrtSetReportMode(self):
old = msvcrt.CrtSetReportMode(msvcrt.CRT_WARN, msvcrt.CRTDBG_MODE_DEBUG)
msvcrt.CrtSetReportMode(msvcrt.CRT_WARN, old)

@unittest.skipUnless(Py_DEBUG, "only avialable under debug build")
@unittest.skipUnless(Py_DEBUG, "only available under debug build")
def test_CrtSetReportFile(self):
old = msvcrt.CrtSetReportFile(msvcrt.CRT_WARN, sys.stdout.fileno())
msvcrt.CrtSetReportFile(msvcrt.CRT_WARN, old)
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