diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-15 19:20:22 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-11-15 19:20:22 +0000 |
| commit | 5f6ed1a3f8bb0b2a724c7f07b98936433a3ef053 (patch) | |
| tree | 8c0c389fc315127d1942db0cb566d118ddc54629 /test/dialect/test_sqlite.py | |
| parent | b14d53aba109cc33b245135ac490dc896d56100f (diff) | |
| download | sqlalchemy-5f6ed1a3f8bb0b2a724c7f07b98936433a3ef053.tar.gz | |
- pg8000 + postgresql dialects now check for float/numeric return
types to more intelligently determine float() vs. Decimal(),
[ticket:1567]
- since result processing is a hot issue of late, the DBAPI type
returned from cursor.description is certainly useful in cases like
these to determine an efficient result processor. There's likely
other result processors that can make use of it. But, backwards
incompat change to result_processor(). Happy major version number..
Diffstat (limited to 'test/dialect/test_sqlite.py')
| -rw-r--r-- | test/dialect/test_sqlite.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py index 040397f4c..6c6ad65e0 100644 --- a/test/dialect/test_sqlite.py +++ b/test/dialect/test_sqlite.py @@ -43,7 +43,7 @@ class TestTypes(TestBase, AssertsExecutionResults): bp = sldt.bind_processor(None) eq_(bp(dt), '2008-06-27 12:00:00.000125') - rp = sldt.result_processor(None) + rp = sldt.result_processor(None, None) eq_(rp(bp(dt)), dt) sldt.__legacy_microseconds__ = True |
