Skip to content

Commit

Permalink
Add pytest markers to test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMay committed Dec 22, 2023
1 parent a7273fc commit 9b7bf01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# which is available at https://opensource.org/licenses/MIT

import pandas as pd
import pytest
from numpy.testing import assert_almost_equal

from mltb2.data import _load_colon_data, _load_colon_label, load_colon, load_leukemia_big, load_prostate
Expand Down Expand Up @@ -64,6 +65,7 @@ def test_load_prostate_compare_original():
assert_almost_equal(result[1].to_numpy(), ori_result[1].to_numpy())


@pytest.mark.skip(reason="see https://github.com/telekom/mltb2/issues/118")
def test_load_leukemia_big():
result = load_leukemia_big()
assert result is not None
Expand All @@ -75,6 +77,7 @@ def test_load_leukemia_big():
assert result[1].shape == (72, 7128)


@pytest.mark.skip(reason="see https://github.com/telekom/mltb2/issues/118")
def test_load_leukemia_big_compare_original():
result = load_leukemia_big()
ori_result = load_leukemia_data()
Expand Down

0 comments on commit 9b7bf01

Please sign in to comment.