Handle YouTube test ConnectionErrors (#13133)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-05-26 05:41:07 +02:00 committed by GitHub
parent 722ae9af37
commit c371c953d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 21 deletions

View file

@ -8,12 +8,11 @@ from pathlib import Path
import pytest
from tests import MODEL, SOURCE, TMP
from ultralytics import YOLO, download
from ultralytics.utils import DATASETS_DIR, SETTINGS
from ultralytics.utils.checks import check_requirements
from tests import MODEL, SOURCE, TMP
@pytest.mark.skipif(not check_requirements("ray", install=False), reason="ray[tune] not installed")
def test_model_ray_tune():