summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-03-03 20:34:40 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-03-03 20:34:40 (GMT)
commit227c800f4397764a20b77fd58467e2bb27fbf510 (patch)
tree8fdee45b6fa7cc360b2047359928be849ae94612
parentbe5b30b15f6ba8bb854968db3bd43390676b905b (diff)
downloadcpython-227c800f4397764a20b77fd58467e2bb27fbf510.zip
cpython-227c800f4397764a20b77fd58467e2bb27fbf510.tar.gz
cpython-227c800f4397764a20b77fd58467e2bb27fbf510.tar.bz2
Merged revisions 61207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61207 | christian.heimes | 2008-03-03 21:30:29 +0100 (Mon, 03 Mar 2008) | 1 line 15 -> 16 ........
-rw-r--r--Lib/test/test_inspect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index 794e4fa..a45e960 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -59,11 +59,11 @@ def generator_function_example(self):
yield i
class TestPredicates(IsTestBase):
- def test_fifteen(self):
+ def test_sixteen(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 15 such functions
- expected = 15
+ expected = 16
err_msg = "There are %d (not %d) is* functions" % (count, expected)
self.assertEqual(count, expected, err_msg)