Skip to content

Commit

Permalink
Adjusting checks for training times in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
cristid9 committed Dec 10, 2024
1 parent 6f45733 commit 3c38070
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def test_benchmark_single_table_realtabformer_no_metrics():
sample_time = output['Sample_Time'][0]
assert isinstance(train_time, (int, float, complex)), 'Train_Time is not numerical'
assert isinstance(sample_time, (int, float, complex)), 'Sample_Time is not numerical'
assert train_time > 0
assert sample_time > 0
assert train_time >= 0
assert sample_time >= 0


@pytest.mark.skipif(sys.platform.startswith('darwin'), reason='Test not supported on github MacOS')
Expand All @@ -88,8 +88,8 @@ def test_benchmark_single_table_no_metrics():
sample_time = output['Sample_Time'][0]
assert isinstance(train_time, (int, float, complex)), 'Train_Time is not numerical'
assert isinstance(sample_time, (int, float, complex)), 'Sample_Time is not numerical'
assert train_time > 0
assert sample_time > 0
assert train_time >= 0
assert sample_time >= 0

# Expect no metric columns.
assert len(output.columns) == 10
Expand Down

0 comments on commit 3c38070

Please sign in to comment.