summaryrefslogtreecommitdiff
path: root/Lib/test/test_index.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-14 21:07:09 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-14 21:07:09 +0200
commitc836a28cc1bf6c0dcbcf9c30f47b731943e21b60 (patch)
tree98031c255e283b43c359e3528c6eef8e602dd25c /Lib/test/test_index.py
parent84d28b4ee5983bcb048323a0e56ea4c5498a0652 (diff)
downloadcpython-git-c836a28cc1bf6c0dcbcf9c30f47b731943e21b60.tar.gz
Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e.
Diffstat (limited to 'Lib/test/test_index.py')
-rw-r--r--Lib/test/test_index.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_index.py b/Lib/test/test_index.py
index a2ac32132e..87857119e1 100644
--- a/Lib/test/test_index.py
+++ b/Lib/test/test_index.py
@@ -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()