From d0ac752096d8598d94180a84d6d6ef50fb22dfc3 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Mon, 19 Feb 2018 21:18:14 +0100 Subject: [PATCH] Used importlib.reload instead of imp.reload in wiki_override_settings. --- tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base.py b/tests/base.py index 596905a4..d273c3ad 100644 --- a/tests/base.py +++ b/tests/base.py @@ -134,6 +134,6 @@ class wiki_override_settings(override_settings): self.reload_wiki_settings() def reload_wiki_settings(self): - from imp import reload + from importlib import reload from wiki.conf import settings reload(settings) -- 2.45.2