summaryrefslogtreecommitdiff
path: root/test/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-02-09 20:32:06 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2015-02-09 20:32:06 -0500
commit8750596c110a284b290e22f6911fd02096a51665 (patch)
tree3b27681a8b38abde21f16ee998867c9376203573 /test/sql
parent1ad236127c060141426c84f446e7b7e773febb31 (diff)
downloadsqlalchemy-8750596c110a284b290e22f6911fd02096a51665.tar.gz
- test skips for MySQL w new cast warning
Diffstat (limited to 'test/sql')
-rw-r--r--test/sql/test_types.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/sql/test_types.py b/test/sql/test_types.py
index 5e1542853..8a56c685a 100644
--- a/test/sql/test_types.py
+++ b/test/sql/test_types.py
@@ -592,6 +592,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "oracle doesn't like CAST in the VALUES of an INSERT")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_insert_round_trip_cast(self):
self._test_insert_round_trip(cast)
@@ -612,6 +614,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "ORA-00906: missing left parenthesis - "
"seems to be CAST(:param AS type)")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_coerce_from_nulltype_cast(self):
self._test_coerce_from_nulltype(cast)
@@ -639,6 +643,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "oracle doesn't like CAST in the VALUES of an INSERT")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_vs_non_coerced_cast(self):
self._test_vs_non_coerced(cast)
@@ -659,6 +665,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "oracle doesn't like CAST in the VALUES of an INSERT")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_vs_non_coerced_alias_cast(self):
self._test_vs_non_coerced_alias(cast)
@@ -679,6 +687,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "oracle doesn't like CAST in the VALUES of an INSERT")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_vs_non_coerced_where_cast(self):
self._test_vs_non_coerced_where(cast)
@@ -707,6 +717,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "oracle doesn't like CAST in the VALUES of an INSERT")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_coerce_none_cast(self):
self._test_coerce_none(cast)
@@ -733,6 +745,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "oracle doesn't like CAST in the VALUES of an INSERT")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_resolve_clause_element_cast(self):
self._test_resolve_clause_element(cast)
@@ -760,6 +774,8 @@ class TypeCoerceCastTest(fixtures.TablesTest):
@testing.fails_on(
"oracle", "ORA-00906: missing left parenthesis - "
"seems to be CAST(:param AS type)")
+ @testing.fails_on(
+ "mysql", "mysql dialect warns on skipped CAST")
def test_cast_existing_typed(self):
MyType = self.MyType
coerce_fn = cast