A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nedbat/coveragepy/issues/221 below:

Coverage.py incompatible with pyratemp · Issue #221 · nedbat/coveragepy · GitHub

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'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4