summaryrefslogtreecommitdiff
path: root/test/sql/test_compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_compiler.py')
-rw-r--r--test/sql/test_compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sql/test_compiler.py b/test/sql/test_compiler.py
index 6b1f443e2..033da10a3 100644
--- a/test/sql/test_compiler.py
+++ b/test/sql/test_compiler.py
@@ -4863,7 +4863,7 @@ class ResultMapTest(fixtures.TestBase):
with self._nested_result() as nested:
contexts[stmt2.element] = nested
text = super(MyCompiler, self).visit_select(
- stmt2.element
+ stmt2.element,
)
self._add_to_result_map("k1", "k1", (1, 2, 3), int_)
else:
@@ -4970,7 +4970,7 @@ class ResultMapTest(fixtures.TestBase):
eq_(len(stmt.subquery().c), 7)
# will render 7 as well
- eq_(len(stmt._columns_plus_names), 7)
+ eq_(len(stmt._compile_state_factory(stmt, None).columns_plus_names), 7)
wrapped = stmt._generate()
wrapped = wrapped.add_columns(