Skip to content

Commit d937be0

Browse files
authored
test: fix snippets test of using partial ordering mode (#1741)
* test: fix snippets test of using partial ordering mode * reset option
1 parent 7d93b35 commit d937be0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/snippets/quickstart.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,7 @@ def run_quickstart(project_id: str) -> None:
7171
model.fit(X, y)
7272
model.score(X, y)
7373
# [END bigquery_bigframes_quickstart]
74+
75+
# close session and reset option so not to affect other tests
76+
bpd.close_session()
77+
bpd.options.bigquery.ordering_mode = "strict"

0 commit comments

Comments
 (0)