From 9b7bf013979b69ddfb137985ad3de8add8cf0fba Mon Sep 17 00:00:00 2001 From: PhilipMay Date: Fri, 22 Dec 2023 16:38:40 +0100 Subject: [PATCH] Add pytest markers to test functions --- tests/test_data.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_data.py b/tests/test_data.py index 3ea9165..7fc30f6 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -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 @@ -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 @@ -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()