[Python-checkins] cpython (3.5): Issue #24541: Update comment in test_inspect.test_eightteen
yury.selivanov
python-checkins at python.org
Wed Jul 1 03:45:19 CEST 2015
https://hg.python.org/cpython/rev/a5c6eaa7d733
changeset: 96734:a5c6eaa7d733
branch: 3.5
parent: 96732:0b7c313851ca
user: Yury Selivanov <yselivanov at sprymix.com>
date: Tue Jun 30 21:44:52 2015 -0400
summary:
Issue #24541: Update comment in test_inspect.test_eightteen
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
@@ -94,7 +94,7 @@
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 16 such functions
+ # 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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list