mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
This commit is contained in:
parent
8e1e8165a3
commit
cddcafaf6b
2 changed files with 56 additions and 0 deletions
|
@ -680,6 +680,8 @@ class BuiltinTest(unittest.TestCase):
|
|||
|
||||
# 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue