mirror of https://github.com/python/cpython
Fix misspeeld method name (negative)
This commit is contained in:
parent
c86b54cb03
commit
be3ff9cdc9
|
@ -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…
Reference in New Issue