diff options
author | Michael Trier <mtrier@gmail.com> | 2010-02-23 19:29:57 +0000 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2010-02-23 19:29:57 +0000 |
commit | d7a8111d43045a12bfd7353f4643d5a325cf3749 (patch) | |
tree | c877001d1a6e61c6a4654155012d465320b52899 /test/dialect/test_postgresql.py | |
parent | 4e3af43d1267d267e1f32bc1d074c73e259dd8c8 (diff) | |
download | sqlalchemy-d7a8111d43045a12bfd7353f4643d5a325cf3749.tar.gz |
The pypostgresql has a problem coercing an array during concatination. Exclude test.
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r-- | test/dialect/test_postgresql.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 073be5cb9..6ab769e51 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -211,6 +211,7 @@ class FloatCoercionTest(TablesTest, AssertsExecutionResults): # (can also use shift() here but that is 2.6 only) x = (x * decimal.Decimal("1000000000")).to_integral() / pow(10, 9) return x + @testing.resolve_artifact_names def test_float_coercion(self): for type_, result in [ @@ -1251,6 +1252,7 @@ class MiscTest(TestBase, AssertsExecutionResults, AssertsCompiledSQL): warnings.warn = capture_warnings._orig_showwarning m1.drop_all() + @testing.fails_on('postgresql+pypostgresql', 'pypostgresql bombs on multiple calls') def test_set_isolation_level(self): """Test setting the isolation level with create_engine""" eng = create_engine(testing.db.url) @@ -1364,6 +1366,7 @@ class ArrayTest(TestBase, AssertsExecutionResults): eq_(results[0]['intarr'], [1,2,3]) @testing.fails_on('postgresql+pg8000', 'pg8000 has poor support for PG arrays') + @testing.fails_on('postgresql+pypostgresql', 'pypostgresql fails in coercing an array') @testing.fails_on('postgresql+zxjdbc', 'zxjdbc has no support for PG arrays') def test_array_concat(self): arrtable.insert().execute(intarr=[1,2,3], strarr=['abc', 'def']) |