Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html reports get confused by ^L in the code #360

Closed
nedbat opened this issue Feb 25, 2015 · 3 comments
Closed

html reports get confused by ^L in the code #360

nedbat opened this issue Feb 25, 2015 · 3 comments
Labels
bug Something isn't working

Comments

@nedbat
Copy link
Owner

nedbat commented Feb 25, 2015

Originally reported by Barry Warsaw (Bitbucket: warsaw, GitHub: warsaw)


Run coverage over some files that contain ^L (control-L) in them, such as the GNU Mailman 3.0 source code (bzr branch lp:mailman && tox -e coverage). The generated HTML page stops at the ^L. The summary page seems to cover the entire file, it's just that the page break in the file messes up the HTML.


@nedbat
Copy link
Owner Author

nedbat commented Feb 27, 2015

Wow, you seem to be right! I guess ^L is pretty rare these days, since no one has mentioned this before. I'll definitely fix it once I figure out where the ball is being dropped.. Fascinating!

@nedbat
Copy link
Owner Author

nedbat commented Feb 28, 2015

It's a Python bug: http://bugs.python.org/issue19035

But we can work around it in coverage.py

@nedbat
Copy link
Owner Author

nedbat commented Feb 28, 2015

Fixed in ca6bb79e2cec (bb)

@nedbat nedbat closed this as completed Feb 28, 2015
@nedbat nedbat added major bug Something isn't working labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant