summaryrefslogtreecommitdiffstats
path: root/tests/test_optimizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_optimizer.py')
-rw-r--r--tests/test_optimizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_optimizer.py b/tests/test_optimizer.py
index d4f2edb..af8c3cd 100644
--- a/tests/test_optimizer.py
+++ b/tests/test_optimizer.py
@@ -156,7 +156,7 @@ class TestOptimizer(unittest.TestCase):
df1 = self.conn.execute(
sqlglot.transpile(sql, read=dialect, write="duckdb")[0]
).df()
- df2 = self.conn.execute(optimized.sql(pretty=pretty, dialect="duckdb")).df()
+ df2 = self.conn.execute(optimized.sql(dialect="duckdb")).df()
assert_frame_equal(df1, df2)
@patch("sqlglot.generator.logger")