tests/test-demandimport.py
changeset 44117 c5e0a9b97b8a
parent 43076 2372284d9457
child 44118 f81c17ec303c
--- a/tests/test-demandimport.py	Sat Jan 18 11:13:01 2020 -0800
+++ b/tests/test-demandimport.py	Mon Jan 20 23:42:19 2020 -0800
@@ -22,6 +22,10 @@
 if sys.flags.optimize:
     sys.exit(80)
 
+# The demand importer doesn't work on Python 3.5.
+if sys.version_info[0:2] == (3, 5):
+    sys.exit(80)
+
 if ispy3:
     from importlib.util import _LazyModule