]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- we're testing a query here with non-standard aliasing which fails on PG and MySQL.
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Feb 2014 17:59:32 +0000 (12:59 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Feb 2014 17:59:32 +0000 (12:59 -0500)
Leave this test in place as its ultimately a SQLite use case, but only test on SQLite.
We perhaps should add another test case that works on all platforms.

test/sql/test_join_rewriting.py

index 082b6f0dea98c9c6d695c3be14fa160009056dee..6fb108a27a13abb88c7ba70b2e5b95e636a523f0 100644 (file)
@@ -530,6 +530,12 @@ class JoinExecTest(_JoinRewriteTestBase, fixtures.TestBase):
     def test_a_atobalias_balias_c_w_exists(self):
         super(JoinExecTest, self).test_a_atobalias_balias_c_w_exists()
 
+    @testing.only_on("sqlite", "non-standard aliasing rules used at the moment, "
+                        "possibly fix this or add another test that uses "
+                        "cross-compatible aliasing")
+    def test_b_ab1_union_b_ab2(self):
+        super(JoinExecTest, self).test_b_ab1_union_b_ab2()
+
 class DialectFlagTest(fixtures.TestBase, AssertsCompiledSQL):
     def test_dialect_flag(self):
         d1 = default.DefaultDialect(supports_right_nested_joins=True)