Skip to content

Commit

Permalink
* skip two unittests which require ram
Browse files Browse the repository at this point in the history
  • Loading branch information
HYLcool committed Sep 11, 2024
1 parent 1d32536 commit b06a493
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/ops/mapper/test_image_tagging_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
from data_juicer.ops.mapper.image_tagging_mapper import \
ImageTaggingMapper
from data_juicer.utils.constant import Fields
from data_juicer.utils.unittest_utils import DataJuicerTestCaseBase
from data_juicer.utils.unittest_utils import DataJuicerTestCaseBase, SKIPPED_TESTS

@SKIPPED_TESTS.register_module()
class ImageTaggingMapperTest(DataJuicerTestCaseBase):
data_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..',
'data')
Expand Down
3 changes: 2 additions & 1 deletion tests/ops/mapper/test_video_tagging_from_frames_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
VideoTaggingFromFramesMapper
from data_juicer.utils.constant import Fields
from data_juicer.utils.mm_utils import SpecialTokens
from data_juicer.utils.unittest_utils import DataJuicerTestCaseBase
from data_juicer.utils.unittest_utils import DataJuicerTestCaseBase, SKIPPED_TESTS

@SKIPPED_TESTS.register_module()
class VideoTaggingFromFramesMapperTest(DataJuicerTestCaseBase):
data_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..',
'data')
Expand Down

0 comments on commit b06a493

Please sign in to comment.