Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-evandenberg committed Sep 13, 2024
1 parent b9ca237 commit eb31475
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/integ/modin/sql_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,17 @@ def expects(self, **kwargs):
)

import os
test_name = os.environ.get('PYTEST_CURRENT_TEST')

counts_list = ''
test_name = os.environ.get("PYTEST_CURRENT_TEST")

counts_list = ""
for key in SQL_COUNT_PARAMETERS:
actual_count = actual_counts[key] if key in actual_counts else 0
expected_count = kwargs[key] if key in kwargs else -1
if expected_count is None:
expected_count = 0
failed = failed or expected_count != actual_count
counts_list=counts_list + f',{key},{expected_count},{actual_count}'
counts_list = counts_list + f",{key},{expected_count},{actual_count}"

if failed:
pytest.assume(
Expand Down

0 comments on commit eb31475

Please sign in to comment.