summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_inspect.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-01 02:06:42 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-01 02:06:42 (GMT)
commit59a3b6764c504b4816b83be97d05f365f68d7dea (patch)
tree9a4f1ef3e64bb4e92eab4314abd33dbac5fb9152 /Lib/test/test_inspect.py
parent22f68d5dd68459ad2ad28e4b25b9e9267e0761b3 (diff)
downloadcpython-59a3b6764c504b4816b83be97d05f365f68d7dea.zip
cpython-59a3b6764c504b4816b83be97d05f365f68d7dea.tar.gz
cpython-59a3b6764c504b4816b83be97d05f365f68d7dea.tar.bz2
Issue #24541: Drop test_inspect.test_eightteen unittest; update docs
Suggested by Martin Panter.
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r--Lib/test/test_inspect.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index 1bf4576..ab22c7d 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -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