diff --git a/tests/test_contrib.py b/tests/test_contrib.py
index 1889554132cc52f1c8a95f645608c32af49f2dad..429472b066a7a9c8225e2520a970dabd6cab82b1 100644
--- a/tests/test_contrib.py
+++ b/tests/test_contrib.py
@@ -1,4 +1,8 @@
 import os
+try:
+    from importlib import reload  # Python 3.4+
+except ImportError:
+    pass
 
 from .utils import *
 from .test_make_app import can_reach_unauth, can_push_auth