mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Issue #24541: Drop test_inspect.test_eightteen unittest; update docs
Suggested by Martin Panter.
This commit is contained in:
parent
22f68d5dd6
commit
59a3b6764c
2 changed files with 1 additions and 9 deletions
|
@ -91,14 +91,6 @@ def gen_coroutine_function_example(self):
|
|||
|
||||
|
||||
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 18 such functions
|
||||
expected = 18
|
||||
err_msg = "There are %d (not %d) is* functions" % (count, expected)
|
||||
self.assertEqual(count, expected, err_msg)
|
||||
|
||||
|
||||
def test_excluding_predicates(self):
|
||||
global tb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue