diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-10-02 11:50:05 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-10-02 12:26:16 -0400 |
| commit | 67ee56be69687a828d3998b2f6e2caccb3fe9072 (patch) | |
| tree | 974a8da0b1bfa0cfdbcff66ffcd8bf3169ab5e7a /test/sql | |
| parent | 29b752f8b24909c9c715e1b2c5e01119d1f46aa7 (diff) | |
| download | sqlalchemy-67ee56be69687a828d3998b2f6e2caccb3fe9072.tar.gz | |
Support pg10
One test appears to use some awkward calling style
with the current_date function that isn't working in pg10
anymore, this looks like an extremely
old test that can be removed
Change-Id: I5f8aee0f5ed423461be5a9060c812eb0acdc7df5
Diffstat (limited to 'test/sql')
| -rw-r--r-- | test/sql/test_functions.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/sql/test_functions.py b/test/sql/test_functions.py index a7dfd2beb..d244e9671 100644 --- a/test/sql/test_functions.py +++ b/test/sql/test_functions.py @@ -630,6 +630,7 @@ class ReturnTypeTest(fixtures.TestBase): class ExecuteTest(fixtures.TestBase): + __backend__ = True @engines.close_first def tearDown(self): @@ -744,14 +745,7 @@ class ExecuteTest(fixtures.TestBase): w = select(['*'], from_obj=[func.current_date(bind=testing.db)]).\ scalar() - # construct a column-based FROM object out of a function, - # like in [ticket:172] - s = select([sql.column('date', type_=DateTime)], - from_obj=[func.current_date(bind=testing.db)]) - q = s.execute().first()[s.c.date] - r = s.alias('datequery').select().scalar() - - assert x == y == z == w == q == r + assert x == y == z == w def test_extract_bind(self): """Basic common denominator execution tests for extract()""" |
