(self)
| 138 | support.check__all__(self, wave, not_exported=not_exported) |
| 139 | |
| 140 | def test_read_deprecations(self): |
| 141 | filename = support.findfile('pluck-pcm8.wav', subdir='audiodata') |
| 142 | with wave.open(filename) as reader: |
| 143 | with self.assertWarns(DeprecationWarning): |
| 144 | with self.assertRaises(wave.Error): |
| 145 | reader.getmark('mark') |
| 146 | with self.assertWarns(DeprecationWarning): |
| 147 | self.assertIsNone(reader.getmarkers()) |
| 148 | |
| 149 | def test_write_deprecations(self): |
| 150 | with io.BytesIO(b'') as tmpfile: |
nothing calls this directly
no test coverage detected