mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 02:46:59 +00:00
7 lines
188 B
Python
7 lines
188 B
Python
|
import os
|
||
|
|
||
|
def no_coverage_env():
|
||
|
"Return a copy of os.environ that won't trigger coverage measurement."
|
||
|
env = os.environ.copy()
|
||
|
env.pop('COV_CORE_SOURCE', None)
|
||
|
return env
|