(self)
| 75 | self.assertEqual(f.getformat(), self.format) |
| 76 | |
| 77 | def test_write_params(self): |
| 78 | f = self.create_file(TESTFN) |
| 79 | f.setnframes(self.nframes) |
| 80 | f.writeframes(self.frames) |
| 81 | self.check_params(f, self.nchannels, self.sampwidth, self.framerate, |
| 82 | self.nframes, self.comptype, self.compname, self.format) |
| 83 | f.close() |
| 84 | |
| 85 | def test_write_context_manager_calls_close(self): |
| 86 | # Close checks for a minimum header and will raise an error |
nothing calls this directly
no test coverage detected