(self)
| 1995 | copy.deepcopy(f) |
| 1996 | |
| 1997 | def test_pickle(self): |
| 1998 | for proto in range(pickle.HIGHEST_PROTOCOL + 1): |
| 1999 | with self.subTest(protocol=proto): |
| 2000 | f = self.writer(Queue(b'')) |
| 2001 | with self.assertRaisesRegex(TypeError, 'StreamWriter'): |
| 2002 | pickle.dumps(f, proto) |
| 2003 | |
| 2004 | |
| 2005 | class StreamReaderWriterTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected