Mercurial > hg
annotate tests/sitecustomize.py @ 16541:bb3334806ace stable
tests: quote dummyssh in a way that works on windows too
Don't depend on $environmentvariableexpansion and 'quote' handling in system()
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 28 Apr 2012 02:00:04 +0200 |
parents | 0b21ae0a2366 |
children | 031947baf4d0 |
rev | line source |
---|---|
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 |
14971
0b21ae0a2366
tests: use getattr instead of hasattr
Augie Fackler <durin42@gmail.com>
parents:
10648
diff
changeset
|
3 getattr(coverage, 'process_startup', lambda: None)() |
10648
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
4 except ImportError: |
58128004cca1
tests: use external coverage, mandate newer version
Dirkjan Ochtman <djc.ochtman@kentyde.com>
parents:
diff
changeset
|
5 pass |