Coverage.py incompatible with pyratemp · Issue #221 · nedbat/coveragepy (original) (raw)
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'