From: Petr Viktorin Date: Wed, 6 Nov 2024 13:39:30 +0000 (+0100) Subject: [3.11] gh-87846: test_io: Ignore OpenWrapper in test___all__ (#126478) X-Git-Tag: v3.11.11~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c6885d636e1c16a8ec83fad579a56d7fe79cdd7;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-87846: test_io: Ignore OpenWrapper in test___all__ (#126478) --- diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 1e444d2566e8..d528b4aa2872 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -4504,6 +4504,7 @@ class CMiscIOTest(MiscIOTest): io = io name_of_module = "io", "_io" extra_exported = "BlockingIOError", + not_exported = "OpenWrapper", # deprecated, added on demand def test_readinto_buffer_overflow(self): # Issue #18025 @@ -4570,7 +4571,10 @@ class PyMiscIOTest(MiscIOTest): io = pyio name_of_module = "_pyio", "io" extra_exported = "BlockingIOError", "open_code", - not_exported = "valid_seek_flags", + not_exported = ( + "valid_seek_flags", + "OpenWrapper", # deprecated, added on demand + ) @unittest.skipIf(os.name == 'nt', 'POSIX signals required for this test.')