Commits

Mike Bayer committed a65ad68

try a between here since 'in' looks for exact matches, doesn't work
with extra thingies in the version

  • Participants
  • Parent commits ef6850d

Comments (0)

Files changed (2)

File test/lib/testing.py

       _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):

File test/orm/test_dynamic.py

         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,