diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 9030923a..00000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -*.ipynb linguist-vendored \ No newline at end of file diff --git a/test/evaluator/test_TBEvaluator.py b/test/evaluator/test_TBEvaluator.py deleted file mode 100644 index 3396f8eb..00000000 --- a/test/evaluator/test_TBEvaluator.py +++ /dev/null @@ -1,15 +0,0 @@ -""" Test the TBEvaluator class.""" -import pytest - -from topobenchmark.evaluator import TBEvaluator - -class TestTBEvaluator: - """ Test the TBEvaluator class.""" - - def setup_method(self): - """ Setup the test.""" - self.evaluator_multilable = TBEvaluator(task="multilabel classification") - self.evaluator_regression = TBEvaluator(task="regression") - with pytest.raises(ValueError): - TBEvaluator(task="wrong") - repr = self.evaluator_multilable.__repr__() \ No newline at end of file diff --git a/test/evaluator/test_evaluator.py b/test/evaluator/test_evaluator.py new file mode 100644 index 00000000..bd08b8ee --- /dev/null +++ b/test/evaluator/test_evaluator.py @@ -0,0 +1,12 @@ +""" Test the TBEvaluator class.""" +import pytest + +from topobenchmark.evaluator import TBEvaluator + +def test_evaluator(self): + """ Setup the test.""" + evaluator_multilable = TBEvaluator(task="multilabel classification") + evaluator_regression = TBEvaluator(task="regression") + with pytest.raises(ValueError): + TBEvaluator(task="wrong") + repr = evaluator_multilable.__repr__() \ No newline at end of file