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
........
This commit is contained in:
Christian Heimes 2008-03-03 20:34:40 +00:00
parent be5b30b15f
commit 227c800f43
1 changed files with 2 additions and 2 deletions

View File

@ -59,11 +59,11 @@ def generator_function_example(self):
yield i yield i
class TestPredicates(IsTestBase): class TestPredicates(IsTestBase):
def test_fifteen(self): def test_sixteen(self):
count = len([x for x in dir(inspect) if x.startswith('is')]) 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 # This test is here for remember you to update Doc/library/inspect.rst
# which claims there are 15 such functions # which claims there are 15 such functions
expected = 15 expected = 16
err_msg = "There are %d (not %d) is* functions" % (count, expected) err_msg = "There are %d (not %d) is* functions" % (count, expected)
self.assertEqual(count, expected, err_msg) self.assertEqual(count, expected, err_msg)