[Python-checkins] cpython (3.5): Issue #24400: Fix failing unittest
yury.selivanov
python-checkins at python.org
Wed Jul 1 03:19:04 CEST 2015
https://hg.python.org/cpython/rev/0b7c313851ca
changeset: 96732:0b7c313851ca
branch: 3.5
parent: 96730:f22a0358418e
user: Yury Selivanov <yselivanov at sprymix.com>
date: Tue Jun 30 21:18:27 2015 -0400
summary:
Issue #24400: Fix failing unittest
files:
Lib/test/test_inspect.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -95,7 +95,7 @@
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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list