From: Stefan Behnel Date: Tue, 6 Apr 2010 14:40:12 +0000 (+0200) Subject: fix API usage for 'coverage' 3.x X-Git-Tag: 0.13.beta0~243 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12f20622cef9f23ebab43c6895d72a17a7ea93d2;p=cython.git fix API usage for 'coverage' 3.x --- diff --git a/runtests.py b/runtests.py index 8d9a38dc..83dfd057 100644 --- a/runtests.py +++ b/runtests.py @@ -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()