summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util/compat.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-09-03 19:37:32 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-09-03 19:37:32 -0400
commit9e612f111b9645f4958e3ef0595d9e19bd9e5ae3 (patch)
tree9fa80bb01677cff2cb2e47d219dd17cce04a952b /lib/sqlalchemy/util/compat.py
parent82e874b64b7a56311c10bffa4ffa151d539efe99 (diff)
downloadsqlalchemy-9e612f111b9645f4958e3ef0595d9e19bd9e5ae3.tar.gz
- rework the test exclusions system to work on a consistent theme
Diffstat (limited to 'lib/sqlalchemy/util/compat.py')
-rw-r--r--lib/sqlalchemy/util/compat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/util/compat.py b/lib/sqlalchemy/util/compat.py
index f66024d0b..c6b990802 100644
--- a/lib/sqlalchemy/util/compat.py
+++ b/lib/sqlalchemy/util/compat.py
@@ -18,6 +18,7 @@ py3k_warning = getattr(sys, 'py3kwarning', False) or sys.version_info >= (3, 0)
jython = sys.platform.startswith('java')
pypy = hasattr(sys, 'pypy_version_info')
win32 = sys.platform.startswith('win')
+cpython = not pypy and not jython # TODO: something better for this ?
if py3k_warning:
set_types = set