Skip to content

Commit

Permalink
Check influence of .gitattributes
Browse files Browse the repository at this point in the history
  • Loading branch information
gbg141 committed Dec 4, 2024
1 parent faea887 commit 03493c4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

15 changes: 0 additions & 15 deletions test/evaluator/test_TBEvaluator.py

This file was deleted.

12 changes: 12 additions & 0 deletions test/evaluator/test_evaluator.py
Original file line number Diff line number Diff line change
@@ -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__()

0 comments on commit 03493c4

Please sign in to comment.