Issue #24400: Fix failing unittest
This commit is contained in:
parent
88632d72f2
commit
8a8f453c5a
|
@ -95,7 +95,7 @@ class TestPredicates(IsTestBase):
|
||||||
count = len([x for x in dir(inspect) if x.startswith('is')])
|
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
|
# This test is here for remember you to update Doc/library/inspect.rst
|
||||||
# which claims there are 16 such functions
|
# which claims there are 16 such functions
|
||||||
expected = 19
|
expected = 18
|
||||||
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…
Reference in New Issue