commit | cddcafaf6b11f4da66fdccba20a777ccb55b800b | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Sun Dec 23 12:44:04 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Sun Dec 23 12:44:04 2012 +0200 |
tree | 37b76d20b2714ffd4fe26a686ac74b40a5f45a06 | |
parent | 8e1e8165a32da4934449df7dffac82c26b6ab101 [diff] [blame] |
Issue #16045: add more unit tests for built-in int() Patch by Chris Jerdonek.
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 1d35a6a..d75c44a 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py
@@ -680,6 +680,8 @@ # Test input() later, together with raw_input + # test_int(): see test_int.py for int() tests. + def test_intern(self): self.assertRaises(TypeError, intern) # This fails if the test is run twice with a constant string,