We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c557b commit fe82c6dCopy full SHA for fe82c6d
tests/unit/core/test_blocks.py
@@ -96,14 +96,6 @@ def test_block_from_local(data):
96
97
def test_block_to_pandas_dry_run__raises_error_when_sampling_is_enabled():
98
mock_session = mock.create_autospec(spec=bigframes.Session)
99
- mock_executor = mock.create_autospec(
100
- spec=bigframes.session.executor.BigQueryCachingExecutor
101
- )
102
-
103
- # hard-coded the returned dimension of the session for that each of the test case contains 3 rows.
104
- mock_session._executor = mock_executor
105
- mock_executor.get_row_count.return_value = 3
106
107
block = blocks.Block.from_local(pandas.DataFrame(), mock_session)
108
109
with pytest.raises(NotImplementedError):
0 commit comments