]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
The pypostgresql has a problem coercing an array during concatination. Exclude test.
authorMichael Trier <mtrier@gmail.com>
Tue, 23 Feb 2010 19:29:57 +0000 (19:29 +0000)
committerMichael Trier <mtrier@gmail.com>
Tue, 23 Feb 2010 19:29:57 +0000 (19:29 +0000)
test/dialect/test_postgresql.py

index 073be5cb976b449403812822fe82eeb0695deda0..6ab769e513e169d00ec3bf255c472f770c0e6eb3 100644 (file)
@@ -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'])