mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 10:57:07 +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 |