Raise an exception under Python < 3.4.

It also cleans up the README to remove references to Python 2
and removes Python 2-isms from the main config.

refs #5443
This commit is contained in:
Dave Page authored and Akshay Joshi committed 2020-04-30 14:17:00 +05:30
1 parent 109051e1d5
commit 7dd00a1494
4 files changed
+28 -41

No files matched your search

+4 -4
View File
@@ -24,10 +24,10 @@ import coverage
import unittest
if sys.version_info[0] >= 3:
import builtins
else:
import __builtin__ as builtins
if sys.version_info < (3, 4):
raise Exception('The test suite must be run under Python 3.4 or later.')
import builtins
# Ensure the global server mode is set.
builtins.SERVER_MODE = None