From a826ff366bf979bcbb4f075d3c33540232b91873 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 26 Jan 2015 18:02:46 -0500 Subject: - additional test adjustments for pypy / psycopg2cffi. This consists mainly of adjusting fixtures to ensure connections are closed explicitly. psycopg2cffi also handles unicode bind parameter names differently than psycopg2, and seems to possibly have a little less control over floating point values at least in one test which is marked as a "fail", though will see if it runs differently on linux than osx.. - changelog for psycopg2cffi, fixes #3052 --- lib/sqlalchemy/testing/util.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sqlalchemy/testing/util.py') diff --git a/lib/sqlalchemy/testing/util.py b/lib/sqlalchemy/testing/util.py index eea39b1f7..8230f923a 100644 --- a/lib/sqlalchemy/testing/util.py +++ b/lib/sqlalchemy/testing/util.py @@ -147,6 +147,10 @@ def run_as_contextmanager(ctx, fn, *arg, **kw): simulating the behavior of 'with' to support older Python versions. + This is not necessary anymore as we have placed 2.6 + as minimum Python version, however some tests are still using + this structure. + """ obj = ctx.__enter__() -- cgit v1.2.1