diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-05 12:46:28 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-09-05 12:46:28 -0400 |
commit | df7a3792f558dd5f4e39c7ca1f6feda9753be1f1 (patch) | |
tree | 330425f65b908158bd578e80b2d0bae4c84e5b98 /test/lib/requires.py | |
parent | 307c6f9773ad80f3eea32da72b02c8ad50a797e9 (diff) | |
download | sqlalchemy-df7a3792f558dd5f4e39c7ca1f6feda9753be1f1.tar.gz |
- add req's for predictable gc
Diffstat (limited to 'test/lib/requires.py')
-rw-r--r-- | test/lib/requires.py | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/test/lib/requires.py b/test/lib/requires.py index c9a50c5bc..a7a7552da 100644 --- a/test/lib/requires.py +++ b/test/lib/requires.py @@ -186,15 +186,17 @@ def savepoints(fn): ], "savepoints not supported")(fn) def denormalized_names(fn): - """Target database must have 'denormalized', i.e. UPPERCASE as case insensitive names.""" + """Target database must have 'denormalized', i.e. + UPPERCASE as case insensitive names.""" return skip_if( lambda: not testing.db.dialect.requires_name_normalize, - "Backend does not require denomralized names." + "Backend does not require denormalized names." )(fn) def schemas(fn): - """Target database must support external schemas, and have one named 'test_schema'.""" + """Target database must support external schemas, and have one + named 'test_schema'.""" return skip_if([ "sqlte", @@ -253,18 +255,19 @@ def two_phase_transactions(fn): """Target database must support two-phase transactions.""" return skip_if([ - no_support('access', 'not supported by database'), + no_support('access', 'two-phase xact not supported by database'), no_support('firebird', 'no SA implementation'), - no_support('maxdb', 'not supported by database'), - no_support('mssql', 'FIXME: guessing, needs confirmation'), - no_support('oracle', 'no SA implementation'), - no_support('drizzle', 'not supported by database'), - no_support('sqlite', 'not supported by database'), - no_support('sybase', 'FIXME: guessing, needs confirmation'), + no_support('maxdb', 'two-phase xact not supported by database'), + no_support('mssql', 'two-phase xact not supported by drivers'), + no_support('oracle', 'two-phase xact not implemented in SQLA/oracle'), + no_support('drizzle', 'two-phase xact not supported by database'), + no_support('sqlite', 'two-phase xact not supported by database'), + no_support('sybase', 'two-phase xact not supported by drivers/SQLA'), no_support('postgresql+zxjdbc', 'FIXME: JDBC driver confuses the transaction state, may ' 'need separate XA implementation'), - exclude('mysql', '<', (5, 0, 3), 'not supported by database'), + exclude('mysql', '<', (5, 0, 3), + 'two-phase xact not supported by database'), ])(fn) def views(fn): |