Lines Matching refs:RawIOBase

140 class CMockRawIOWithoutRead(MockRawIOWithoutRead, io.RawIOBase):
143 class PyMockRawIOWithoutRead(MockRawIOWithoutRead, pyio.RawIOBase):
157 class CMockRawIO(MockRawIO, io.RawIOBase):
160 class PyMockRawIO(MockRawIO, pyio.RawIOBase):
181 class CMisbehavedRawIO(MisbehavedRawIO, io.RawIOBase):
184 class PyMisbehavedRawIO(MisbehavedRawIO, pyio.RawIOBase):
197 class CSlowFlushRawIO(SlowFlushRawIO, io.RawIOBase):
200 class PySlowFlushRawIO(SlowFlushRawIO, pyio.RawIOBase):
212 class CCloseFailureIO(CloseFailureIO, io.RawIOBase):
215 class PyCloseFailureIO(CloseFailureIO, pyio.RawIOBase):
310 class CMockNonBlockWriterIO(MockNonBlockWriterIO, io.RawIOBase):
313 class PyMockNonBlockWriterIO(MockNonBlockWriterIO, pyio.RawIOBase):
494 elif isinstance(obj, (self.BufferedIOBase, self.RawIOBase)):
707 self._check_base_destructor(self.RawIOBase)
843 # Exercise the default limited RawIOBase.read(n) implementation (which
858 self.RawIOBase(),
963 # Exercise the default unlimited RawIOBase.read() and readall()
1053 """Test that pyio RawIOBase class has all c RawIOBase methods"""
1054 mismatch = support.detect_api_mismatch(pyio.RawIOBase, io.RawIOBase,
1056 self.assertEqual(mismatch, set(), msg='Python RawIOBase does not have all C RawIOBase methods')
1059 """Test that c RawIOBase class has all pyio RawIOBase methods"""
1060 mismatch = support.detect_api_mismatch(io.RawIOBase, pyio.RawIOBase)
1061 self.assertEqual(mismatch, set(), msg='C RawIOBase does not have all Python RawIOBase methods')
4071 self.assertIsInstance(self.RawIOBase, abc.ABCMeta)
4078 self.assertIsInstance(f, abcmodule.RawIOBase)
4083 self.assertNotIsInstance(f, abcmodule.RawIOBase)
4088 self.assertNotIsInstance(f, abcmodule.RawIOBase)