From bf5170793c7569d648b8cd89a2275768c78d821f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Mon, 27 Jan 2003 15:57:14 +0000 Subject: [PATCH] Fix comment typos --- Lib/test/test_builtin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index eb4b3d2a820..f7e652d8bbb 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"))