mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Issue #9858: Add missing method stubs to _io.RawIOBase. Patch by Laura Rupprecht.
This commit is contained in:
parent
60335855f0
commit
45d6156154
4 changed files with 22 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue