Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e.

This commit is contained in:
Serhiy Storchaka 2013-12-14 21:07:09 +02:00
parent 84d28b4ee5
commit c836a28cc1
6 changed files with 12 additions and 45 deletions

View file

@ -81,8 +81,7 @@ class BaseTestCase(unittest.TestCase):
return True
bad_int = BadInt()
with self.assertWarns(DeprecationWarning):
n = operator.index(bad_int)
n = operator.index(bad_int)
self.assertEqual(n, 1)
bad_int = BadInt2()