Coverage.py incompatible with pyratemp

Anonymous avatarAnonymous created an issue

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'

Comments (3)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.