diff options
author | Steve Dower <steve.dower@microsoft.com> | 2019-05-23 08:45:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 08:45:22 -0700 |
commit | b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184 (patch) | |
tree | 5370a2a075707cb0b37ce135cad6ffe23da424c4 /Lib/test/test_io.py | |
parent | e788057a9188ff37e232729815dfda2529079420 (diff) | |
download | cpython-git-b82e17e626f7b1cd98aada0b1ebb65cb9f8fb184.tar.gz |
bpo-36842: Implement PEP 578 (GH-12613)
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r-- | Lib/test/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 2c3bf89066..6f22b35a9a 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -3861,7 +3861,7 @@ class MiscIOTest(unittest.TestCase): for name in self.io.__all__: obj = getattr(self.io, name, None) self.assertIsNotNone(obj, name) - if name == "open": + if name in ("open", "open_code"): continue elif "error" in name.lower() or name == "UnsupportedOperation": self.assertTrue(issubclass(obj, Exception), name) |