mirror of https://github.com/python/cpython
Merge 3.5
This commit is contained in:
commit
50d5516dce
|
@ -94,7 +94,7 @@ class TestPredicates(IsTestBase):
|
||||||
def test_eightteen(self):
|
def test_eightteen(self):
|
||||||
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 18 such functions
|
||||||
expected = 18
|
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