mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #24541: Update comment in test_inspect.test_eightteen
This commit is contained in:
parent
8a8f453c5a
commit
22f68d5dd6
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class TestPredicates(IsTestBase):
|
|||
def test_eightteen(self):
|
||||
count = len([x for x in dir(inspect) if x.startswith('is')])
|
||||
# This test is here for remember you to update Doc/library/inspect.rst
|
||||
# which claims there are 16 such functions
|
||||
# which claims there are 18 such functions
|
||||
expected = 18
|
||||
err_msg = "There are %d (not %d) is* functions" % (count, expected)
|
||||
self.assertEqual(count, expected, err_msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue