]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix python 2.5 ism
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Oct 2013 00:15:22 +0000 (20:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 21 Oct 2013 00:15:22 +0000 (20:15 -0400)
test/sql/test_types.py

index 325e957348df47dca264b03655c5dae50db8ba78..b58175d60505e60d3169b36b0ed3a4768980cb4a 100644 (file)
@@ -879,9 +879,9 @@ class EnumTest(AssertsCompiledSQL, fixtures.TestBase):
         class MyEnum(types.SchemaType, TypeDecorator):
             def __init__(self, values):
                 self.impl = Enum(
-                                *[v.name for v in values],
                                 name="myenum",
-                                native_enum=False
+                                native_enum=False,
+                                *[v.name for v in values]
                             )