diff options
author | Walter Dörwald <walter@livinglogic.de> | 2003-01-27 15:57:14 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2003-01-27 15:57:14 (GMT) |
commit | bf5170793c7569d648b8cd89a2275768c78d821f (patch) | |
tree | 19accc9bbd326b3f4ca62394f87c87a5cb367c97 /Lib/test/test_builtin.py | |
parent | 1a1b6e41575ebbac0a681f82061bf5d137330eb8 (diff) | |
download | cpython-bf5170793c7569d648b8cd89a2275768c78d821f.zip cpython-bf5170793c7569d648b8cd89a2275768c78d821f.tar.gz cpython-bf5170793c7569d648b8cd89a2275768c78d821f.tar.bz2 |
Fix comment typos
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r-- | Lib/test/test_builtin.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index eb4b3d2..f7e652d 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -352,12 +352,12 @@ class BuiltinTest(unittest.TestCase): pass self.assertRaises(TypeError, filter, badfunc, range(5)) - # test biltinmodule.c::filtertuple() + # test bltinmodule.c::filtertuple() self.assertEqual(filter(None, (1, 2)), (1, 2)) self.assertEqual(filter(lambda x: x>=3, (1, 2, 3, 4)), (3, 4)) self.assertRaises(TypeError, filter, 42, (1, 2)) - # test biltinmodule.c::filterstring() + # test bltinmodule.c::filterstring() self.assertEqual(filter(None, "12"), "12") self.assertEqual(filter(lambda x: x>="3", "1234"), "34") self.assertRaises(TypeError, filter, 42, "12") @@ -365,8 +365,9 @@ class BuiltinTest(unittest.TestCase): def __getitem__(self, index): raise ValueError self.assertRaises(ValueError, filter, lambda x: x >="3", badstr("1234")) + if have_unicode: - # test biltinmodule.c::filterstring() + # test bltinmodule.c::filterunicode() self.assertEqual(filter(None, unicode("12")), unicode("12")) self.assertEqual(filter(lambda x: x>="3", unicode("1234")), unicode("34")) self.assertRaises(TypeError, filter, 42, unicode("12")) |