Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
emdavis02 committed Jul 25, 2024
1 parent 31eb3fb commit 41441be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/nn/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,9 @@ def test_sleap_track_invalid_csv(
).split()

# Run inference and expect ValueError for missing 'data_path' column
with pytest.raises(ValueError, match=f"Column containing valid data_paths does not exist in the CSV file: {csv_missing_column_path}"):
with pytest.raises(
ValueError,
):
sleap_track(args=args_missing_column)

# Create sleap-track command for empty CSV file
Expand All @@ -1856,7 +1858,7 @@ def test_sleap_track_invalid_csv(
).split()

# Run inference and expect ValueError for empty CSV file
with pytest.raises(ValueError, match = f"CSV file is empty: {csv_empty_path}"):
with pytest.raises(ValueError):
sleap_track(args=args_empty)


Expand Down

0 comments on commit 41441be

Please sign in to comment.