1. Ned Batchelder
  2. coverage.py
Issue #221 resolved

Coverage.py incompatible with pyratemp

Anonymous 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