mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Document the fact that 'compname' and 'comptype' are bytes.
This commit is contained in:
parent
a3b0d20a79
commit
e08a66a371
2 changed files with 12 additions and 11 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue