зеркало из https://github.com/microsoft/torchgeo.git
Skip unrar tests on Windows
This commit is contained in:
Родитель
c3277a0f3f
Коммит
9ee482e88f
|
@ -1,6 +1,7 @@
|
|||
import os
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import sys
|
||||
from typing import Generator
|
||||
|
||||
from _pytest.fixtures import SubRequest
|
||||
|
@ -26,6 +27,8 @@ def download_url(url: str, root: str, *args: str) -> None:
|
|||
shutil.copy(url, root)
|
||||
|
||||
|
||||
# TODO: figure out how to install unrar on Windows in GitHub Actions
|
||||
@pytest.mark.skipif(sys.platform == "win32", reason="requires unrar executable")
|
||||
class TestVHR10:
|
||||
@pytest.fixture(params=["positive", "negative"])
|
||||
def dataset(
|
||||
|
|
Загрузка…
Ссылка в новой задаче