summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_builtin.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-23 10:50:02 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-23 10:50:02 (GMT)
commit4b61d0fa7f573a078deaa3a6251b68d0838543e2 (patch)
treecdc16ac37b0abfc03995f749e2578e62d29c0abb /Lib/test/test_builtin.py
parent2909d6b47c5a96b38099d5e00fd68e6b5c3ef4da (diff)
parent8e42e8a0c6d202e12a918494ed506252ff361187 (diff)
downloadcpython-4b61d0fa7f573a078deaa3a6251b68d0838543e2.zip
cpython-4b61d0fa7f573a078deaa3a6251b68d0838543e2.tar.gz
cpython-4b61d0fa7f573a078deaa3a6251b68d0838543e2.tar.bz2
Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r--Lib/test/test_builtin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 2c5201e..1ae06a9 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1177,6 +1177,8 @@ class BuiltinTest(unittest.TestCase):
# Check stdin/stdout error handler is used when invoking GNU readline
self.check_input_tty("prompté", b"quux\xe9", "ascii")
+ # test_int(): see test_int.py for tests of built-in function int().
+
def test_repr(self):
self.assertEqual(repr(''), '\'\'')
self.assertEqual(repr(0), '0')