1. Ned Batchelder
  2. coverage.py
  3. Issues
Issue #119 invalid

doubled blank lines in phystokens.source_token_lines using virtualenv on Windows

Anonymous created an issue

=== code: === {{{ from coverage import phystokens as pt

source = open(file).read() tg = pt.source_token_lines(source)

for t in tg: line = ''.join([p[1] for p in t]) print line

print 'over...' }}}

=== produce this output: === {{{ from coverage import phystokens as pt

source = open(file).read() tg = pt.source_token_lines(source)

for t in tg: line = ''.join([p[1] for p in t]) print line

print 'over...'

over... }}}

when run in virtualenv on Windows XP

virtualenv 1.5.1 coverage.py 3.4 python 2.5

Comments (2)

  1. Log in to comment