(self)
| 69 | self.assertEqual(f.readframes(nframes), frames) |
| 70 | |
| 71 | def test_write_params(self): |
| 72 | f = self.create_file(TESTFN) |
| 73 | f.setnframes(self.nframes) |
| 74 | f.writeframes(self.frames) |
| 75 | self.check_params(f, self.nchannels, self.sampwidth, self.framerate, |
| 76 | self.nframes, self.comptype, self.compname) |
| 77 | f.close() |
| 78 | |
| 79 | def test_write_context_manager_calls_close(self): |
| 80 | # Close checks for a minimum header and will raise an error |
nothing calls this directly
no test coverage detected