diff --git a/setup.cfg b/setup.cfg index 34581cb05..f601d7f14 100644 --- a/setup.cfg +++ b/setup.cfg @@ -127,7 +127,7 @@ tests = rangehttpserver==1.2.0 mock-ssh-server==0.9.1 wget==3.2 - filelock==3.2.0 + filelock==3.3.0 wsgidav==3.1.1 crc32c==2.2.post0 xmltodict==0.12.0 diff --git a/tests/remotes/__init__.py b/tests/remotes/__init__.py index 9457ff055..4b86530df 100644 --- a/tests/remotes/__init__.py +++ b/tests/remotes/__init__.py @@ -89,7 +89,7 @@ def docker_services( # as it might result in network conflicts. Inspired by: # https://github.com/pytest-dev/pytest-xdist#making-session-scoped-fixtures-execute-only-once lockfile = tmp_path_factory.getbasetemp().parent / "docker-compose.lock" - with FileLock(str(lockfile)): + with FileLock(str(lockfile)): # pylint:disable=abstract-class-instantiated executor.execute("up --build -d") return Services(executor)