summaryrefslogtreecommitdiff
path: root/coverage/backward.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/backward.py')
-rw-r--r--coverage/backward.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/coverage/backward.py b/coverage/backward.py
index ac781ab9..779cd661 100644
--- a/coverage/backward.py
+++ b/coverage/backward.py
@@ -229,12 +229,6 @@ def format_local_datetime(dt):
return dt.strftime('%Y-%m-%d %H:%M')
-def invalidate_import_caches():
- """Invalidate any import caches that may or may not exist."""
- if importlib and hasattr(importlib, "invalidate_caches"):
- importlib.invalidate_caches()
-
-
def import_local_file(modname, modfile=None):
"""Import a local file as a module.