diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-23 10:49:33 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-23 10:49:33 (GMT) |
commit | 8e42e8a0c6d202e12a918494ed506252ff361187 (patch) | |
tree | 1d9fc10495661e388386ecb460ab72400bb1443d /Lib/test/test_builtin.py | |
parent | 1f415cf2c2b5f3eec5489ec1276c0629b32b28c0 (diff) | |
download | cpython-8e42e8a0c6d202e12a918494ed506252ff361187.zip cpython-8e42e8a0c6d202e12a918494ed506252ff361187.tar.gz cpython-8e42e8a0c6d202e12a918494ed506252ff361187.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.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 19d7c70..bf005c5 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -1172,6 +1172,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') |