mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-26 06:30:06 -05:00
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:
1 parent
109051e1d5
commit
7dd00a1494
4 files changed
+28
-41
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user