]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 61207 via svnmerge from
authorChristian Heimes <christian@cheimes.de>
Mon, 3 Mar 2008 20:34:40 +0000 (20:34 +0000)
committerChristian Heimes <christian@cheimes.de>
Mon, 3 Mar 2008 20:34:40 +0000 (20:34 +0000)
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
........

Lib/test/test_inspect.py

index 794e4fa43d425177284e22d769cdf0ebbfaabb38..a45e960ca82b3107f6c9b9e3a21a4de02abd75bb 100644 (file)
@@ -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)