summaryrefslogtreecommitdiff
path: root/coverage/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/debug.py')
-rw-r--r--coverage/debug.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/debug.py b/coverage/debug.py
index 8d6892bb..4076b9b2 100644
--- a/coverage/debug.py
+++ b/coverage/debug.py
@@ -7,6 +7,10 @@ import inspect
import os
import sys
+from coverage.misc import isolate_module
+
+os = isolate_module(os)
+
# When debugging, it can be helpful to force some options, especially when
# debugging the configuration mechanisms you usually use to control debugging!