Skip to content

Commit

Permalink
chore: properly skip a test
Browse files Browse the repository at this point in the history
  • Loading branch information
mihow committed Nov 21, 2024
1 parent e24bf53 commit 50e2665
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion trapdata/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from unittest import TestCase

import PIL.Image
import pytest

from trapdata.common.filemanagement import find_images
from trapdata.tests import TEST_IMAGES_BASE_PATH
Expand Down Expand Up @@ -158,7 +159,10 @@ def test_classification_zero(self):
for classification in result.classifications:
self.assertLessEqual(classification.scores[0], 0.4)

def _skip_test_binary_classification_zero(self):
@pytest.mark.skip(
reason="The new binary classifier is classifying empty images as moths"
)
def test_binary_classification_zero(self):
# @TODO
# This is classifying empty images as moths!

Expand Down

0 comments on commit 50e2665

Please sign in to comment.