diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-07-16 12:08:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-16 12:08:06 +0100 |
commit | 79924aebefbcc2663f541efe083ae1fdbb10eab6 (patch) | |
tree | 39d775e6f898d52413f2fb7ac2648a54736e0e98 /tests | |
parent | Bump matrix-org/done-action from 2 to 3 (#17440) (diff) | |
download | synapse-79924aebefbcc2663f541efe083ae1fdbb10eab6.tar.xz |
Bump mypy from 1.9.0 to 1.10.1 (#17445)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/util/test_check_dependencies.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/util/test_check_dependencies.py b/tests/util/test_check_dependencies.py index fb67146c69..13a4e6ddaa 100644 --- a/tests/util/test_check_dependencies.py +++ b/tests/util/test_check_dependencies.py @@ -21,6 +21,7 @@ from contextlib import contextmanager from os import PathLike +from pathlib import Path from typing import Generator, Optional, Union from unittest.mock import patch @@ -41,7 +42,7 @@ class DummyDistribution(metadata.Distribution): def version(self) -> str: return self._version - def locate_file(self, path: Union[str, PathLike]) -> PathLike: + def locate_file(self, path: Union[str, PathLike]) -> Path: raise NotImplementedError() def read_text(self, filename: str) -> None: |