summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-01 01:18:27 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-01 01:18:27 (GMT)
commit8a8f453c5a6d6549f4db826300a0817c7af09ccd (patch)
tree80d6284cb0f09f7f3e816a35ef3f6515c0e44604
parent88632d72f23a36e4728b116376883a4a3ac8388e (diff)
downloadcpython-8a8f453c5a6d6549f4db826300a0817c7af09ccd.zip
cpython-8a8f453c5a6d6549f4db826300a0817c7af09ccd.tar.gz
cpython-8a8f453c5a6d6549f4db826300a0817c7af09ccd.tar.bz2
Issue #24400: Fix failing unittest
-rw-r--r--Lib/test/test_inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index ebd106c..9307e21 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -95,7 +95,7 @@ class TestPredicates(IsTestBase):
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 16 such functions
- expected = 19
+ expected = 18
err_msg = "There are %d (not %d) is* functions" % (count, expected)
self.assertEqual(count, expected, err_msg)