diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-07-28 17:05:50 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-07-28 17:05:50 -0400 |
| commit | 22ba1c43b792953ae6f791512d276739c8c09eae (patch) | |
| tree | bdf9f639b01426a8a2e1c8c61d35533026dd4265 /test/lib/requires.py | |
| parent | 27913554a85c308d81e6c018669d0246ceecc639 (diff) | |
| download | sqlalchemy-22ba1c43b792953ae6f791512d276739c8c09eae.tar.gz | |
-whitespace bonanza, contd
Diffstat (limited to 'test/lib/requires.py')
| -rw-r--r-- | test/lib/requires.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/lib/requires.py b/test/lib/requires.py index 88049d7fb..31b835b28 100644 --- a/test/lib/requires.py +++ b/test/lib/requires.py @@ -77,9 +77,9 @@ def identity(fn): def reflectable_autoincrement(fn): """Target database must support tables that can automatically generate PKs assuming they were reflected. - + this is essentially all the DBs in "identity" plus Postgresql, which - has SERIAL support. FB and Oracle (and sybase?) require the Sequence to + has SERIAL support. FB and Oracle (and sybase?) require the Sequence to be explicitly added, including if the table was reflected. """ return _chain_decorators_on( @@ -151,7 +151,7 @@ def update_from(fn): """Target must support UPDATE..FROM syntax""" return _chain_decorators_on( fn, - only_on(('postgresql', 'mssql', 'mysql'), + only_on(('postgresql', 'mssql', 'mysql'), "Backend does not support UPDATE..FROM") ) @@ -388,7 +388,7 @@ def python25(fn): def cpython(fn): return _chain_decorators_on( fn, - skip_if(lambda: util.jython or util.pypy, + skip_if(lambda: util.jython or util.pypy, "cPython interpreter needed" ) ) @@ -424,11 +424,11 @@ def sqlite(fn): def ad_hoc_engines(fn): """Test environment must allow ad-hoc engine/connection creation. - + DBs that scale poorly for many connections, even when closed, i.e. Oracle, may use the "--low-connections" option which flags this requirement as not present. - + """ return _chain_decorators_on( fn, @@ -456,6 +456,6 @@ def selectone(fn): """target driver must support the literal statement 'select 1'""" return _chain_decorators_on( fn, - skip_if(lambda: testing.against('oracle'), + skip_if(lambda: testing.against('oracle'), "non-standard SELECT scalar syntax") ) |
