mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-20 00:10:35 -05:00
testsuite: archiver: skip test_unix_socket on Windows
Python on Windows does not support the AF_UNIX socket type yet. https://github.com/python/cpython/issues/77589
This commit is contained in:
parent
2f9c7d98e5
commit
208add518f
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ import pytest
|
|||
from ... import platform
|
||||
from ...constants import * # NOQA
|
||||
from ...manifest import Manifest
|
||||
from ...platform import is_cygwin
|
||||
from ...platform import is_cygwin, is_win32
|
||||
from ...repository import Repository
|
||||
from .. import has_lchflags
|
||||
from .. import changedir
|
||||
|
|
@ -119,6 +119,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
|
|||
# we have all fs items exactly once!
|
||||
assert sorted(paths) == ["input", "input/a", "input/a/hardlink", "input/b", "input/b/hardlink"]
|
||||
|
||||
@pytest.mark.skipif(is_win32, reason="unix sockets not available on windows")
|
||||
def test_unix_socket(self):
|
||||
self.cmd(f"--repo={self.repository_location}", "rcreate", RK_ENCRYPTION)
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue