Skip POSIX escaping test on Windows
Because of the backslash, Windows tries to create a new directory and asks for a confirmation, which fails.
This commit is contained in:
parent
8d69d9d412
commit
0add3b1bb0
@ -101,7 +101,7 @@ class TestDownloadTarget:
|
||||
pytest.param('A *|<>\\: bear!', 'A ______ bear!',
|
||||
marks=pytest.mark.fake_os('windows')),
|
||||
pytest.param('A *|<>\\: bear!', 'A *|<>\\: bear!',
|
||||
marks=pytest.mark.fake_os('posix')),
|
||||
marks=[pytest.mark.fake_os('posix'), pytest.mark.posix]),
|
||||
])
|
||||
def test_sanitized_filenames(raw, expected,
|
||||
config_stub, download_tmpdir, monkeypatch):
|
||||
|
Loading…
Reference in New Issue
Block a user