From: Christian Heimes Date: Mon, 3 Mar 2008 20:30:29 +0000 (+0000) Subject: 15 -> 16 X-Git-Tag: v2.6a2~414 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=728bee897ff35702dd6f651b9e551761ec843c01;p=python 15 -> 16 --- diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 33bcfb4f79..06f6b94c85 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -50,11 +50,11 @@ def generator_function_example(self): yield i class TestPredicates(IsTestBase): - def test_fifteen(self): + def test_sixteen(self): count = len(filter(lambda x:x.startswith('is'), dir(inspect))) # 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)