Kaydet (Commit) 28bba74b authored tarafından Tarek Ziadé's avatar Tarek Ziadé

removing map and lambda usage, so the test is similar to py3k's branch one

üst 90b7d56d
...@@ -18,8 +18,9 @@ class TextFileTestCase(support.TempdirManager, unittest.TestCase): ...@@ -18,8 +18,9 @@ class TextFileTestCase(support.TempdirManager, unittest.TestCase):
# so they are really called by the buildbots # so they are really called by the buildbots
# result 1: no fancy options # result 1: no fancy options
result1 = map(lambda x: x + "\n", result1 = ['# test file\n', '\n', 'line 3 \\\n',
TEST_DATA.split("\n")[0:-1]) '# intervening comment\n',
' continues on next line\n']
# result 2: just strip comments # result 2: just strip comments
result2 = ["\n", result2 = ["\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment