diff options
author | Christian Heimes <christian@cheimes.de> | 2008-03-03 20:30:29 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-03-03 20:30:29 (GMT) |
commit | 728bee897ff35702dd6f651b9e551761ec843c01 (patch) | |
tree | d66870435d55a9715ef5dc9bc60826b5ad9bbea8 /Lib/test/test_inspect.py | |
parent | 608c1d8e87b20116011fe8fce634e980e115d514 (diff) | |
download | cpython-728bee897ff35702dd6f651b9e551761ec843c01.zip cpython-728bee897ff35702dd6f651b9e551761ec843c01.tar.gz cpython-728bee897ff35702dd6f651b9e551761ec843c01.tar.bz2 |
15 -> 16
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r-- | Lib/test/test_inspect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 33bcfb4..06f6b94 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) |