diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2015-05-20 19:50:59 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2015-05-20 19:50:59 (GMT) |
commit | 45d61561541b35d9c8757b9cc87974edc73f8649 (patch) | |
tree | affc0dd05a3ad405cb07df340e63399c93561225 /Lib/test/test_io.py | |
parent | 60335855f0388109f9fe92e6aa54ddb4e8723034 (diff) | |
download | cpython-45d61561541b35d9c8757b9cc87974edc73f8649.zip cpython-45d61561541b35d9c8757b9cc87974edc73f8649.tar.gz cpython-45d61561541b35d9c8757b9cc87974edc73f8649.tar.bz2 |
Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura Rupprecht.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r-- | Lib/test/test_io.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index f7c6e2d..af7da01 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -722,10 +722,10 @@ class PyIOTest(IOTest): @support.cpython_only class APIMismatchTest(unittest.TestCase): - @unittest.expectedFailure # Test to be fixed by issue9858. def test_RawIOBase_io_in_pyio_match(self): """Test that pyio RawIOBase class has all c RawIOBase methods""" - mismatch = support.detect_api_mismatch(pyio.RawIOBase, io.RawIOBase) + mismatch = support.detect_api_mismatch(pyio.RawIOBase, io.RawIOBase, + ignore=('__weakref__',)) self.assertEqual(mismatch, set(), msg='Python RawIOBase does not have all C RawIOBase methods') def test_RawIOBase_pyio_in_io_match(self): |