Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove obsolete skips in tests #362

Merged
merged 2 commits into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions tests/test_careamist.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def test_train_error_target_unsupervised_algorithm(
)


@pytest.mark.skip(reason="bmz")
def test_train_single_array_no_val(tmp_path: Path, minimum_n2v_configuration: dict):
"""Test that CAREamics can be trained with arrays."""
# training data
Expand Down Expand Up @@ -122,7 +121,6 @@ def test_train_single_array_no_val(tmp_path: Path, minimum_n2v_configuration: di
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
def test_train_array(tmp_path: Path, minimum_n2v_configuration: dict):
"""Test that CAREamics can be trained on arrays."""
# training data
Expand Down Expand Up @@ -158,7 +156,6 @@ def test_train_array(tmp_path: Path, minimum_n2v_configuration: dict):
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
@pytest.mark.parametrize("independent_channels", [False, True])
def test_train_array_channel(
tmp_path: Path, minimum_n2v_configuration: dict, independent_channels: bool
Expand Down Expand Up @@ -201,7 +198,6 @@ def test_train_array_channel(
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
def test_train_array_3d(tmp_path: Path, minimum_n2v_configuration: dict):
"""Test that CAREamics can be trained on 3D arrays."""
# training data
Expand Down Expand Up @@ -237,7 +233,6 @@ def test_train_array_3d(tmp_path: Path, minimum_n2v_configuration: dict):
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
def test_train_tiff_files_in_memory_no_val(
tmp_path: Path, minimum_n2v_configuration: dict
):
Expand Down Expand Up @@ -278,7 +273,6 @@ def test_train_tiff_files_in_memory_no_val(
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
def test_train_tiff_files_in_memory(tmp_path: Path, minimum_n2v_configuration: dict):
"""Test that CAREamics can be trained with tiff files in memory."""
# training data
Expand Down Expand Up @@ -365,7 +359,6 @@ def test_train_tiff_files(tmp_path: Path, minimum_n2v_configuration: dict):
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
def test_train_array_supervised(tmp_path: Path, minimum_supervised_configuration: dict):
"""Test that CAREamics can be trained with arrays."""
# training data
Expand Down Expand Up @@ -408,7 +401,6 @@ def test_train_array_supervised(tmp_path: Path, minimum_supervised_configuration
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
def test_train_tiff_files_in_memory_supervised(
tmp_path: Path, minimum_supervised_configuration: dict
):
Expand Down Expand Up @@ -534,7 +526,6 @@ def test_train_tiff_files_supervised(
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
@pytest.mark.parametrize("samples", [1, 2, 4])
@pytest.mark.parametrize("batch_size", [1, 2])
def test_predict_on_array_tiled(
Expand Down Expand Up @@ -580,7 +571,6 @@ def test_predict_on_array_tiled(
assert (tmp_path / "model.zip").exists()


@pytest.mark.skip(reason="bmz")
@pytest.mark.parametrize("samples", [1, 2, 4])
@pytest.mark.parametrize("batch_size", [1, 2])
def test_predict_arrays_no_tiling(
Expand Down Expand Up @@ -703,7 +693,6 @@ def test_predict_tiled_channel(
)


@pytest.mark.skip(reason="bmz")
@pytest.mark.parametrize("tiled", [True, False])
@pytest.mark.parametrize("n_samples", [1, 2])
@pytest.mark.parametrize("batch_size", [1, 2])
Expand Down
Loading