1 parent 6cfb37b commit 22afbe2Copy full SHA for 22afbe2
1 file changed
packages/sqlalchemy-bigquery/tests/sqlalchemy_dialect_compliance/test_dialect_compliance.py
@@ -644,6 +644,7 @@ def test_no_results_for_non_returning_insert(cls):
644
PostCompileParamsTest
645
) # BQ adds backticks to bind parameters, causing failure of tests TODO: fix this?
646
del QuotedNameArgumentTest # Quotes aren't allowed in BigQuery table names.
647
-del (
648
- WindowFunctionTest.test_window_rows_between
649
-) # test expects BQ to return sorted results
+# Test expects BQ to return sorted results (renamed to _w_caching in SQLAlchemy 2.1+)
+for _test_name in ("test_window_rows_between", "test_window_rows_between_w_caching"):
+ if hasattr(WindowFunctionTest, _test_name):
650
+ delattr(WindowFunctionTest, _test_name)
0 commit comments