summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 83d7ba8..558fbc2 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -109,7 +109,7 @@ def _save_and_block_module(name, orig_modules):
orig_modules[name] = sys.modules[name]
except KeyError:
saved = False
- sys.modules[name] = 0
+ sys.modules[name] = None
return saved