summaryrefslogtreecommitdiff
path: root/test/ext
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-07-17 20:04:22 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-07-17 20:04:22 -0400
commitde115ae40695d8e9fa6d85c629222bec2ea01ff6 (patch)
tree61cb3580b0b0d98d2740c169034e17863ea3499d /test/ext
parent6051636d89d65ea33f7bf52103110ea274bf062a (diff)
downloadsqlalchemy-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/ext')
-rw-r--r--test/ext/test_compiler.py8
1 files changed, 4 insertions, 4 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)