Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit 0bfe42f

Browse files
committed
Revert "test: check in some testcase"
This reverts commit 9bf17c4.
1 parent 9bf17c4 commit 0bfe42f

2 files changed

Lines changed: 1 addition & 20 deletions

File tree

tests/unit/session/test_aaa_provoke_bug.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/unit/session/test_read_gbq_colab.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,13 @@
2222
import pandas
2323
import pytest
2424

25-
import bigframes.core.log_adapter
2625
from bigframes.testing import mocks
2726

2827

2928
def test_read_gbq_colab_includes_label():
3029
"""Make sure we can tell direct colab usage apart from regular read_gbq usage."""
3130
session = mocks.create_bigquery_session()
32-
33-
# The mock session does not fully simulate the logging of API methods, so
34-
# we patch the global list of API methods to ensure the label is set.
35-
with mock.patch.object(
36-
bigframes.core.log_adapter, "_api_methods", ["session-read_gbq_colab"]
37-
):
38-
_ = session._read_gbq_colab("SELECT 'read-gbq-colab-test'")
39-
31+
_ = session._read_gbq_colab("SELECT 'read-gbq-colab-test'")
4032
configs = session._job_configs # type: ignore
4133

4234
label_values = []

0 commit comments

Comments
 (0)