Commit 12f20622 authored by Stefan Behnel's avatar Stefan Behnel

fix API usage for 'coverage' 3.x

parent fc3df835
......@@ -806,7 +806,8 @@ if __name__ == '__main__':
if not WITH_CYTHON:
options.coverage = False
else:
from coverage import coverage
from coverage import coverage as _coverage
coverage = _coverage()
coverage.erase()
coverage.start()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment