Lines Matching refs:what
19 what = sndhdr.what(filename)
20 self.assertNotEqual(what, None, filename)
21 self.assertSequenceEqual(what, expected)
22 self.assertEqual(what.filetype, expected[0])
23 self.assertEqual(what.framerate, expected[1])
24 self.assertEqual(what.nchannels, expected[2])
25 self.assertEqual(what.nframes, expected[3])
26 self.assertEqual(what.sampwidth, expected[4])
30 what = sndhdr.what(filename)
32 dump = pickle.dumps(what, proto)
33 self.assertEqual(pickle.loads(dump), what)