Skip to content

Commit

Permalink
add pytest.skip
Browse files Browse the repository at this point in the history
  • Loading branch information
filaPro committed Aug 6, 2021
1 parent 513c351 commit 552773b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_data/test_datasets/test_s3dis_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def test_getitem():


def test_evaluate():
if not torch.cuda.is_available():
pytest.skip()
from mmdet3d.core.bbox.structures import DepthInstance3DBoxes
root_path = './tests/data/s3dis'
ann_file = './tests/data/s3dis/s3dis_infos.pkl'
Expand Down

0 comments on commit 552773b

Please sign in to comment.