summaryrefslogtreecommitdiff
path: root/tests/test_autogen_indexes.py
diff options
context:
space:
mode:
authorCaselIT <cfederico87@gmail.com>2021-04-18 11:41:04 +0200
committerCaselIT <cfederico87@gmail.com>2021-06-22 23:05:35 +0200
commitb511670231e99c5278d58e789f9efb7855488b41 (patch)
tree231ab1213581dc6db708f478d2d54d48dcd16518 /tests/test_autogen_indexes.py
parentb1e5a23c0f53482dd06b013ce8a9453dd0e5eb5d (diff)
downloadalembic-b511670231e99c5278d58e789f9efb7855488b41.tar.gz
Drop compatibility with python 2.7.
Now alembic supports only python from version 3.6. Change-Id: Iccf124c2d74af801d90a16c9003cdad318768625
Diffstat (limited to 'tests/test_autogen_indexes.py')
-rw-r--r--tests/test_autogen_indexes.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_autogen_indexes.py b/tests/test_autogen_indexes.py
index 80ad478..e25ddc2 100644
--- a/tests/test_autogen_indexes.py
+++ b/tests/test_autogen_indexes.py
@@ -1,5 +1,3 @@
-import sys
-
from sqlalchemy import Column
from sqlalchemy import ForeignKey
from sqlalchemy import ForeignKeyConstraint
@@ -29,10 +27,8 @@ from alembic.util import sqla_compat
# subset of the tests here. @zzzeek can work on this at a later point.
# (2021-06-10)
-py3k = sys.version_info >= (3,)
-
-class NoUqReflection(object):
+class NoUqReflection:
__requires__ = ()
def setUp(self):