commit | 5c2db37c20ad62097ffaaea32c7e332484c200e0 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sat Dec 05 20:28:34 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sat Dec 05 20:28:34 2009 +0000 |
tree | 9f88385ce641ffaa2587693bd38bc1d0f2cfb674 | |
parent | c39aad7c278135e599489914e74cf939e39953e9 [diff] [blame] |
Issue #7435: Remove duplicate int/long tests, and other references to long in py3k. Patch provided by flox.
diff --git a/Lib/test/test_int.py b/Lib/test/test_int.py index d56e1f0..ab463a0 100644 --- a/Lib/test/test_int.py +++ b/Lib/test/test_int.py
@@ -34,6 +34,7 @@ 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