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

Coverage.py incompatible with pyratemp #221

Closed
nedbat opened this issue Dec 13, 2012 · 2 comments
Closed

Coverage.py incompatible with pyratemp #221

nedbat opened this issue Dec 13, 2012 · 2 comments
Labels
bug Something isn't working

Comments

@nedbat
Copy link
Owner

nedbat commented Dec 13, 2012

Originally reported by Anonymous


Coverage.py doesn't work with the pyratemp library that can be found here: http://www.simple-is-better.org/template/pyratemp.html

I did setup a small test case:

template.txt:
Hello @!thing!@!

test.py:
import pyratemp

t = pyratemp.Template(filename="template.txt")
print t(thing="World")

pyratemp.py:
http://www.simple-is-better.org/template/pyratemp-current/pyratemp.py

Running python-coverage run test.py works, but when running python-coverage html in the same directory, this error is shown:

No source for code: '/home/marten/Bureaublad/coverage-test': [Errno 21] Is a directory: '/home/marten/Bureaublad/coverage-test'

@nedbat
Copy link
Owner Author

nedbat commented Dec 14, 2012

Fixed in <<changeset 803b614a6ac2 (bb)>>.

@nedbat nedbat closed this as completed Dec 14, 2012
@nedbat
Copy link
Owner Author

nedbat commented Dec 14, 2012

Original comment by Marten de Vries (Bitbucket: marten-de-vries, GitHub: marten-de-vries)


That's a very fast fix. Thanks!

@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