summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-08-30 17:12:58 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2018-08-30 17:12:58 -0400
commit081d4275cf5c3e6842c8e0198542ff89617eaa96 (patch)
tree482a9c031a6a6259bd5e8254feec6779caa1b8f7 /test/sql
parentd8bb208a85f6366c58426a85b3d4ec1d6e43ac6c (diff)
downloadsqlalchemy-081d4275cf5c3e6842c8e0198542ff89617eaa96.tar.gz
MariaDB 10.3 updates
MariaDB seems to handle some additional UPDATE/DELETE FROM syntaxes as well as some forms of INTERSECT and EXCEPT. Open up tests that expect failure for MySQL to allow success for MariaDB 10.3. Change-Id: Ia9341a82485ef7201bb8130d8dbf4a9b6976035a
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_query.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py
index 1d562c2db..971374eb9 100644
--- a/test/sql/test_query.py
+++ b/test/sql/test_query.py
@@ -1008,7 +1008,8 @@ class CompoundTest(fixtures.TestBase):
found2 = self._fetchall_sorted(e.alias().select().execute())
eq_(found2, wanted)
- @testing.fails_on('sqlite', "Can't handle this style of nesting")
+ @testing.fails_on(
+ ['sqlite', 'mysql'], "Can't handle this style of nesting")
@testing.requires.except_
def test_except_style3(self):
# aaa, bbb, ccc - (aaa, bbb, ccc - (ccc)) = ccc
@@ -1040,7 +1041,8 @@ class CompoundTest(fixtures.TestBase):
)
@testing.requires.intersect
- @testing.fails_on('sqlite', "sqlite can't handle leading parenthesis")
+ @testing.fails_on(['sqlite', 'mysql'],
+ "sqlite can't handle leading parenthesis")
def test_intersect_unions(self):
u = intersect(
union(