summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_int.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_int.py')
-rw-r--r--Lib/test/test_int.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_int.py b/Lib/test/test_int.py
index 5545ee3..0bf55fa 100644
--- a/Lib/test/test_int.py
+++ b/Lib/test/test_int.py
@@ -90,6 +90,7 @@ class IntTestCases(unittest.TestCase):
self.assertRaises(TypeError, int, 1, 12)
+ self.assertRaises(TypeError, int, "10", 2, 1)
self.assertEqual(int('0o123', 0), 83)
self.assertEqual(int('0x123', 16), 291)