]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
long from zxjdbc is also a reasonable result
authorPhilip Jenvey <pjenvey@underboss.org>
Sun, 19 Jul 2009 00:06:45 +0000 (00:06 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Sun, 19 Jul 2009 00:06:45 +0000 (00:06 +0000)
test/engine/test_reflection.py

index 0c2d4340f3e507ff9c5552bc67840658be1cc727..a23f8617d59a7e81cfc91470d0947955f4e45beb 100644 (file)
@@ -1139,7 +1139,7 @@ class ComponentReflectionTest(TestBase):
             try:
                 insp = create_inspector(meta.bind)
                 oid = insp.get_table_oid(table_name, schema)
-                self.assert_(isinstance(oid, int))
+                self.assert_(isinstance(oid, (int, long)))
             finally:
                 addresses.drop()
                 users.drop()