Require Py3 for tests
This commit is contained in:
@@ -4,6 +4,12 @@ from subprocess import Popen, PIPE
|
||||
import os
|
||||
import shutil
|
||||
from contextlib import suppress
|
||||
import sys
|
||||
|
||||
if sys.version_info.major < 3:
|
||||
from __future__ import print_function
|
||||
print("Requires Python 3.4+")
|
||||
sys.exit(1)
|
||||
|
||||
TESTS_ROOT = os.path.abspath(os.path.dirname(__file__))
|
||||
PROJECT_ROOT = os.path.dirname(TESTS_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user