summaryrefslogtreecommitdiffstats
path: root/test/CC/CCCOMSTR.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CC/CCCOMSTR.py')
-rw-r--r--test/CC/CCCOMSTR.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CC/CCCOMSTR.py b/test/CC/CCCOMSTR.py
index f66a192..6874406 100644
--- a/test/CC/CCCOMSTR.py
+++ b/test/CC/CCCOMSTR.py
@@ -44,7 +44,7 @@ test.write('mycc.py', r"""
import sys
outfile = open(sys.argv[1], 'wb')
infile = open(sys.argv[2], 'rb')
-for l in filter(lambda l: l[:6] != '/*cc*/', infile.readlines()):
+for l in [l for l in infile.readlines() if l[:6] != '/*cc*/']:
outfile.write(l)
sys.exit(0)
""")