Skip to content

Commit fe82c6d

Browse files
committed
remove unnecessary code
1 parent 40c557b commit fe82c6d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/unit/core/test_blocks.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ def test_block_from_local(data):
9696

9797
def test_block_to_pandas_dry_run__raises_error_when_sampling_is_enabled():
9898
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-
10799
block = blocks.Block.from_local(pandas.DataFrame(), mock_session)
108100

109101
with pytest.raises(NotImplementedError):

0 commit comments

Comments
 (0)