]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Remove unneeded import
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Mar 2021 22:16:17 +0000 (18:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 16 Mar 2021 22:16:17 +0000 (18:16 -0400)
this import forgot to get removed from
Ia7519ac4371a635f05ac69a3a4d0f4e6d2f04cad , removing it
in post-production.

We will need "enum" soon enough when we go to Python 3 only.

Change-Id: I28297c2ed9f87fd0841076b861b8eeb610754dc3

test/dialect/postgresql/test_types.py

index 59a6c0c85e81abd0bcd1ffc7b5e19cface2f7e35..343f3a986584f07a8c9ff253f439c58f49362e70 100644 (file)
@@ -62,11 +62,6 @@ from sqlalchemy.testing.schema import pep435_enum
 from sqlalchemy.testing.suite import test_types as suite
 from sqlalchemy.testing.util import round_decimal
 
-try:
-    import enum
-except ImportError:
-    enum = None
-
 
 class FloatCoercionTest(fixtures.TablesTest, AssertsExecutionResults):
     __only_on__ = "postgresql"