Skip to content

Commit 3bb0114

Browse files
committed
remove extra execute_result
1 parent e7bbea1 commit 3bb0114

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

tests/benchmark/read_gbq_colab/filter_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ def filter_output(
5656
project_id=config.project_id,
5757
dataset_id=config.dataset_id,
5858
table_id=config.table_id,
59-
)
59+
)

tests/benchmark/read_gbq_colab/first_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ def first_page(*, project_id, dataset_id, table_id):
4343
project_id=config.project_id,
4444
dataset_id=config.dataset_id,
4545
table_id=config.table_id,
46-
)
46+
)

tests/benchmark/read_gbq_colab/last_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ def last_page(*, project_id, dataset_id, table_id):
4343
project_id=config.project_id,
4444
dataset_id=config.dataset_id,
4545
table_id=config.table_id,
46-
)
46+
)

tests/benchmark/read_gbq_colab/sort_output.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ def sort_output(*, project_id, dataset_id, table_id):
3737

3838
df_sorted = df.sort_values(sort_column)
3939
batches_sorted = df_sorted.to_pandas_batches(page_size=PAGE_SIZE)
40-
assert batches_sorted.total_rows is not None and batches_sorted.total_rows >= 0
40+
assert (
41+
batches_sorted.total_rows is not None
42+
and batches_sorted.total_rows >= 0
43+
)
4144
next(iter(batches_sorted))
4245

4346

@@ -47,9 +50,10 @@ def sort_output(*, project_id, dataset_id, table_id):
4750

4851
utils.get_execution_time(
4952
sort_output,
53+
.
5054
current_path,
5155
config.benchmark_suffix,
5256
project_id=config.project_id,
5357
dataset_id=config.dataset_id,
5458
table_id=config.table_id,
55-
)
59+
)

0 commit comments

Comments
 (0)