mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
15 -> 16, the 2nd
This commit is contained in:
parent
3e9d66fee1
commit
26bc177fe6
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class TestPredicates(IsTestBase):
|
||||||
def test_sixteen(self):
|
def test_sixteen(self):
|
||||||
count = len(filter(lambda x:x.startswith('is'), dir(inspect)))
|
count = len(filter(lambda x:x.startswith('is'), dir(inspect)))
|
||||||
# This test is here for remember you to update Doc/library/inspect.rst
|
# This test is here for remember you to update Doc/library/inspect.rst
|
||||||
# which claims there are 15 such functions
|
# which claims there are 16 such functions
|
||||||
expected = 16
|
expected = 16
|
||||||
err_msg = "There are %d (not %d) is* functions" % (count, expected)
|
err_msg = "There are %d (not %d) is* functions" % (count, expected)
|
||||||
self.assertEqual(count, expected, err_msg)
|
self.assertEqual(count, expected, err_msg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue