mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e.
This commit is contained in:
parent
84d28b4ee5
commit
c836a28cc1
6 changed files with 12 additions and 45 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue