diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-07-17 20:04:22 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-07-17 20:04:22 -0400 |
| commit | de115ae40695d8e9fa6d85c629222bec2ea01ff6 (patch) | |
| tree | 61cb3580b0b0d98d2740c169034e17863ea3499d /test | |
| parent | 6051636d89d65ea33f7bf52103110ea274bf062a (diff) | |
| download | sqlalchemy-de115ae40695d8e9fa6d85c629222bec2ea01ff6.tar.gz | |
- a big renaming of all the _Underscore classes to have
plain names. The old names are still defined for
backwards compatibility.
- _BindParamClause renamed to BindParameter
Diffstat (limited to 'test')
| -rw-r--r-- | test/ext/test_compiler.py | 8 | ||||
| -rw-r--r-- | test/sql/test_selectable.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/ext/test_compiler.py b/test/ext/test_compiler.py index 318a1e76c..4e8a40ff3 100644 --- a/test/ext/test_compiler.py +++ b/test/ext/test_compiler.py @@ -2,7 +2,7 @@ from sqlalchemy import * from sqlalchemy.types import TypeEngine from sqlalchemy.sql.expression import ClauseElement, ColumnClause,\ FunctionElement, Select, \ - _BindParamClause + BindParameter from sqlalchemy.schema import DDLElement from sqlalchemy.ext.compiler import compiles @@ -321,7 +321,7 @@ class DefaultOnExistingTest(fixtures.TestBase, AssertsCompiledSQL): __dialect__ = 'default' def teardown(self): - for cls in (Select, _BindParamClause): + for cls in (Select, BindParameter): if hasattr(cls, '_compiler_dispatcher'): visitors._generate_dispatch(cls) del cls._compiler_dispatcher @@ -351,7 +351,7 @@ class DefaultOnExistingTest(fixtures.TestBase, AssertsCompiledSQL): column('c') ) - @compiles(_BindParamClause) + @compiles(BindParameter) def gen_bind(element, compiler, **kw): return "BIND(%s)" % compiler.visit_bindparam(element, **kw) @@ -368,7 +368,7 @@ class DefaultOnExistingTest(fixtures.TestBase, AssertsCompiledSQL): column('c') ) - @compiles(_BindParamClause) + @compiles(BindParameter) def gen_bind(element, compiler, **kw): return "BIND(%s)" % compiler.visit_bindparam(element, **kw) diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py index f41360359..b2b8ce187 100644 --- a/test/sql/test_selectable.py +++ b/test/sql/test_selectable.py @@ -668,7 +668,7 @@ class JoinConditionTest(fixtures.TestBase, AssertsExecutionResults): # TODO: this raises due to right side being "grouped", and no - # longer has FKs. Did we want to make _FromGrouping friendlier + # longer has FKs. Did we want to make FromGrouping friendlier # ? assert_raises_message(exc.ArgumentError, |
