Document the fact that 'compname' and 'comptype' are bytes.

This commit is contained in:
R. David Murray 2009-04-29 21:50:39 +00:00
parent a3b0d20a79
commit e08a66a371
2 changed files with 12 additions and 11 deletions

View file

@ -35,8 +35,6 @@ class AIFCTest(unittest.TestCase):
self.assertEqual(f.getsampwidth(), 2)
self.assertEqual(f.getframerate(), 48000)
self.assertEqual(f.getnframes(), 14400)
# XXX: are the next two correct? The docs say/imply they are supposed
# to be strings.
self.assertEqual(f.getcomptype(), b'NONE')
self.assertEqual(f.getcompname(), b'not compressed')
self.assertEqual(