diff options
Diffstat (limited to 'test/TEX/TEXCOM.py')
-rw-r--r-- | test/TEX/TEXCOM.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEX/TEXCOM.py b/test/TEX/TEXCOM.py index 6336730..1cadd63 100644 --- a/test/TEX/TEXCOM.py +++ b/test/TEX/TEXCOM.py @@ -41,7 +41,7 @@ test.write('mytex.py', r""" import sys outfile = open(sys.argv[1], 'wb') infile = open(sys.argv[2], 'rb') -for l in filter(lambda l: l != '/*tex*/\n', infile.readlines()): +for l in [l for l in infile.readlines() if l != '/*tex*/\n']: outfile.write(l) sys.exit(0) """) |