diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-11 00:49:28 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-02-11 00:49:28 -0500 |
commit | 09efc11fbc95f8a47200dd102d304b90609e9408 (patch) | |
tree | 58cbd0dafa6a8d0ae791b9dfc7652d1393beb84a /test/sql/test_functions.py | |
parent | ed4534ea8a003c89441064b028b0b22c5b5ea97a (diff) | |
download | sqlalchemy-09efc11fbc95f8a47200dd102d304b90609e9408.tar.gz |
- need to limit the list of oracle fn's that don't get parens to a
fixed list. window functions need parens
Diffstat (limited to 'test/sql/test_functions.py')
-rw-r--r-- | test/sql/test_functions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/test_functions.py b/test/sql/test_functions.py index 13116a4bb..b0106b21b 100644 --- a/test/sql/test_functions.py +++ b/test/sql/test_functions.py @@ -22,7 +22,7 @@ class CompileTest(TestBase, AssertsCompiledSQL): bindtemplate = BIND_TEMPLATES[dialect.paramstyle] self.assert_compile(func.current_timestamp(), "CURRENT_TIMESTAMP", dialect=dialect) self.assert_compile(func.localtime(), "LOCALTIME", dialect=dialect) - if isinstance(dialect, (firebird.dialect, maxdb.dialect, oracle.dialect)): + if isinstance(dialect, (firebird.dialect, maxdb.dialect)): self.assert_compile(func.nosuchfunction(), "nosuchfunction", dialect=dialect) else: self.assert_compile(func.nosuchfunction(), "nosuchfunction()", dialect=dialect) @@ -66,7 +66,7 @@ class CompileTest(TestBase, AssertsCompiledSQL): ('random()', sqlite.dialect()), ('random()', postgresql.dialect()), ('rand()', mysql.dialect()), - ('random', oracle.dialect()) + ('random()', oracle.dialect()) ]: self.assert_compile(func.random(), ret, dialect=dialect) |