diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-09 11:46:52 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-09 11:46:52 -0500 |
commit | e1a30715d233bc0aa2741502ab122cabf586b4c4 (patch) | |
tree | 46b781d5399c899c361a39468c2c62883ce5cfac /lib/sqlalchemy/test/requires.py | |
parent | a41c50ad63f688cce99fdb9920c4f7c24ef0c866 (diff) | |
download | sqlalchemy-e1a30715d233bc0aa2741502ab122cabf586b4c4.tar.gz |
- and fix everything from the last checkin that breaks on py 2.4, 2.5
Diffstat (limited to 'lib/sqlalchemy/test/requires.py')
-rw-r--r-- | lib/sqlalchemy/test/requires.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sqlalchemy/test/requires.py b/lib/sqlalchemy/test/requires.py index 5b68a18e1..d29b7abc2 100644 --- a/lib/sqlalchemy/test/requires.py +++ b/lib/sqlalchemy/test/requires.py @@ -286,6 +286,15 @@ def python2(fn): ) ) +def python26(fn): + return _chain_decorators_on( + fn, + skip_if( + lambda: sys.version_info < (2, 6), + "Python version 2.6 or greater is required" + ) + ) + def _has_cextensions(): try: from sqlalchemy import cresultproxy, cprocessors |