summaryrefslogtreecommitdiff
path: root/Lib/test/test_int.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_int.py
parent84d28b4ee5983bcb048323a0e56ea4c5498a0652 (diff)
downloadcpython-git-c836a28cc1bf6c0dcbcf9c30f47b731943e21b60.tar.gz
Issue #17576: Removed deprecation warnings added in changeset 618cca51a27e.
Diffstat (limited to 'Lib/test/test_int.py')
-rw-r--r--Lib/test/test_int.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/test/test_int.py b/Lib/test/test_int.py
index a4487bc8c4..c489510537 100644
--- a/Lib/test/test_int.py
+++ b/Lib/test/test_int.py
@@ -359,18 +359,15 @@ class IntTestCases(unittest.TestCase):
return True
bad_int = BadInt()
- with self.assertWarns(DeprecationWarning):
- n = int(bad_int)
+ n = int(bad_int)
self.assertEqual(n, 1)
bad_int = BadInt2()
- with self.assertWarns(DeprecationWarning):
- n = int(bad_int)
+ n = int(bad_int)
self.assertEqual(n, 1)
bad_int = TruncReturnsBadInt()
- with self.assertWarns(DeprecationWarning):
- n = int(bad_int)
+ n = int(bad_int)
self.assertEqual(n, 1)
good_int = TruncReturnsIntSubclass()