author | Mads Kiilerich <mads@kiilerich.com> |
Fri, 22 Oct 2010 17:08:15 +0200 | |
branch | stable |
changeset 12809 | e5922564ab01 |
parent 10648 | 58128004cca1 |
child 14971 | 0b21ae0a2366 |
permissions | -rw-r--r-- |
10648
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
1 |
try: |
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
2 |
import coverage |
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
3 |
if hasattr(coverage, 'process_startup'): |
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
4 |
coverage.process_startup() |
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
5 |
except ImportError: |
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
6 |
pass |