mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix misspeeld method name (negative)
This commit is contained in:
parent
c86b54cb03
commit
be3ff9cdc9
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class TestAudioop(unittest.TestCase):
|
|||
self.assertEqual(audioop.getsample(data[1], 2, i), i)
|
||||
self.assertEqual(audioop.getsample(data[2], 4, i), i)
|
||||
|
||||
def test_negavitelen(self):
|
||||
def test_negativelen(self):
|
||||
# from issue 3306, previously it segfaulted
|
||||
self.assertRaises(audioop.error,
|
||||
audioop.findmax, ''.join( chr(x) for x in xrange(256)), -2392392)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue