summaryrefslogtreecommitdiff
path: root/Lib/test/test_int.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-12-05 20:28:34 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-12-05 20:28:34 +0000
commit5c2db37c20ad62097ffaaea32c7e332484c200e0 (patch)
tree9f88385ce641ffaa2587693bd38bc1d0f2cfb674 /Lib/test/test_int.py
parentc39aad7c278135e599489914e74cf939e39953e9 (diff)
downloadcpython-git-5c2db37c20ad62097ffaaea32c7e332484c200e0.tar.gz
Issue #7435: Remove duplicate int/long tests, and other
references to long in py3k. Patch provided by flox.
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 d56e1f0da3..ab463a0232 100644
--- a/Lib/test/test_int.py
+++ b/Lib/test/test_int.py
@@ -34,6 +34,7 @@ class IntTestCases(unittest.TestCase):
self.assertEqual(int(-3.9), -3)
self.assertEqual(int(3.5), 3)
self.assertEqual(int(-3.5), -3)
+ self.assertEqual(int("-3"), -3)
# Different base:
self.assertEqual(int("10",16), 16)
# Test conversion from strings and various anomalies