You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
558 B
Python
18 lines
558 B
Python
# When testrunner.py is invoked with --coverage, it puts this first
|
|
# on the path as per https://coverage.readthedocs.io/en/coverage-4.0b3/subprocess.html.
|
|
# Note that this disables other sitecustomize.py files.
|
|
import coverage
|
|
try:
|
|
coverage.process_startup()
|
|
except coverage.CoverageException as e:
|
|
if str(e) == "Can't support concurrency=greenlet with PyTracer, only threads are supported":
|
|
pass
|
|
else:
|
|
import traceback
|
|
traceback.print_exc()
|
|
raise
|
|
except:
|
|
import traceback
|
|
traceback.print_exc()
|
|
raise
|