Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Unified Diff: third_party/pexpect/tests/utils.py

Issue 1398903002: Add third_party/pexpect (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@end-to-end-test
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pexpect/tests/torturet.vt ('k') | third_party/pexpect/tools/display-fpathconf.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pexpect/tests/utils.py
diff --git a/third_party/pexpect/tests/utils.py b/third_party/pexpect/tests/utils.py
new file mode 100644
index 0000000000000000000000000000000000000000..dcd3aa017da3d86c3d8b7847f67a191426303513
--- /dev/null
+++ b/third_party/pexpect/tests/utils.py
@@ -0,0 +1,7 @@
+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
« no previous file with comments | « third_party/pexpect/tests/torturet.vt ('k') | third_party/pexpect/tools/display-fpathconf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698