mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
cleanup
This commit is contained in:
parent
8e4b05214a
commit
3b3626244e
@ -211,13 +211,17 @@ def _setup_coverage(reactor):
|
||||
except ImportError:
|
||||
return
|
||||
|
||||
# this doesn't change the shell's notion of the environment, but
|
||||
# it makes the test in process_startup() succeed, which is the
|
||||
# goal here.
|
||||
os.environ["COVERAGE_PROCESS_START"] = '.coveragerc'
|
||||
|
||||
# maybe-start the global coverage, unless it already got started
|
||||
cov = coverage.process_startup()
|
||||
if cov is None:
|
||||
cov = coverage.process_startup.coverage
|
||||
|
||||
def write_coverage_data(*args, **kw):
|
||||
def write_coverage_data():
|
||||
"""
|
||||
Make sure that coverage has stopped; internally, it depends on
|
||||
ataxit handlers running which doesn't always happen (Twisted's
|
||||
|
Loading…
Reference in New Issue
Block a user