]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove unneeded compile assertion test, doesn't work on MySQL
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Apr 2008 21:53:13 +0000 (21:53 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Apr 2008 21:53:13 +0000 (21:53 +0000)
test/orm/query.py

index 8648c5f66c7a6870b3b50d8c4f0b9e510aa45e52..c5dde6938afa2d22c2b28389366abaaeffc8ea40 100644 (file)
@@ -562,7 +562,7 @@ class ParentTest(QueryTest):
         assert [Keyword(name='red'), Keyword(name='small'), Keyword(name='square')] == k
 
 
-class JoinTest(QueryTest, AssertsCompiledSQL):
+class JoinTest(QueryTest):
 
     def test_getjoinable_tables(self):
         sess = create_session()
@@ -672,7 +672,6 @@ class JoinTest(QueryTest, AssertsCompiledSQL):
             (order4, item5),
             (order5, item5),
         ]
-        self.assert_compile(join(Order, Item, 'items'), "orders JOIN order_items ON orders.id = order_items.order_id JOIN items ON items.id = order_items.item_id")
         
         q = sess.query(Order)
         q = q.add_entity(Item).select_from(join(Order, Item, 'items'))