]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
try a between here since 'in' looks for exact matches, doesn't work
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 16 Apr 2011 00:55:15 +0000 (20:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 16 Apr 2011 00:55:15 +0000 (20:55 -0400)
with extra thingies in the version

test/lib/testing.py
test/orm/test_dynamic.py

index 95cda95e845c7a3490bcf5482373735c6fdb7b01..6512a23d2a921e2de84d0a1a4060bf0f3794359c 100644 (file)
@@ -267,7 +267,6 @@ def _is_excluded(db, op, spec):
       _is_excluded('bigdb', '==', (9,0,9))
       _is_excluded('yikesdb', 'in', ((0, 3, 'alpha2'), (0, 3, 'alpha3')))
     """
-
     vendor_spec = db_spec(db)
 
     if not vendor_spec(config.db):
index 215a752391c1398d60cd02a1029c44edb6d2f736..ce85b20ef6899a16b38d5c6611ad4d5435f1db05 100644 (file)
@@ -191,8 +191,8 @@ class DynamicTest(_fixtures.FixtureTest, AssertsCompiledSQL):
         assert o1 in i1.orders.all()
         assert i1 in o1.items.all()
 
-    @testing.exclude('mysql', 'in', 
-            ((5, 1,49), (5, 1, 50), (5, 1, 51), (5, 1, 52)),
+    @testing.exclude('mysql', 'between', 
+            ((5, 1,49), (5, 1, 52)),
             'https://bugs.launchpad.net/ubuntu/+source/mysql-5.1/+bug/706988')
     def test_association_nonaliased(self):
         items, Order, orders, order_items, Item = (self.tables.items,