Skip to content

Commit

Permalink
Fix : unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabrina-Hassaim committed Jan 27, 2025
1 parent 36caf34 commit 15134a1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/io/test_read_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,6 @@ def test_interactive_file_selection_valid(dummy_zip_file):
assert "file2.csv" in result


def test_interactive_file_selection_invalid(dummy_zip_file):
"""Test invalid input for interactive file selection."""
user_input = "4,abc"
with patch("builtins.input", return_value=user_input):
with pytest.raises(ValueError, match="No valid files selected"):
read_archive(str(dummy_zip_file), extract_to_df=False)


# Tests for file type inference
def test_infer_file_type_valid():
"""Test valid file type inference."""
Expand Down

0 comments on commit 15134a1

Please sign in to comment.