diff options
author | Ran Benita <ran@unusedvar.com> | 2019-12-02 18:01:08 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2020-01-14 06:31:41 +0100 |
commit | 090e26051738314317fbe7e6fc603e1cf39d6c87 (patch) | |
tree | d16c741fa1c6307374182019426ef24c19868f25 /src/_pytest/compat.py | |
parent | 90740007a8b1758c8c01d4afbbdec5b03c5ddff2 (diff) | |
download | pytest-090e26051738314317fbe7e6fc603e1cf39d6c87.tar.gz |
master: update mypy 0.740 -> 0.761
(cherry picked from commit 16ff9f591e38d1f2a79441f177130b1d89098c6e)
(cherry picked from commit 4848bbdf9a4480ec85b520c6f3224256f1346679)
Diffstat (limited to 'src/_pytest/compat.py')
-rw-r--r-- | src/_pytest/compat.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py index fc810b3e5..8dd74b577 100644 --- a/src/_pytest/compat.py +++ b/src/_pytest/compat.py @@ -43,8 +43,7 @@ MODULE_NOT_FOUND_ERROR = ( if sys.version_info >= (3, 8): - # Type ignored until next mypy release. - from importlib import metadata as importlib_metadata # type: ignore + from importlib import metadata as importlib_metadata else: import importlib_metadata # noqa: F401 @@ -385,9 +384,7 @@ else: if sys.version_info >= (3, 8): - # TODO: Remove type ignore on next mypy update. - # https://github.com/python/typeshed/commit/add0b5e930a1db16560fde45a3b710eefc625709 - from functools import cached_property # type: ignore + from functools import cached_property else: class cached_property(Generic[_S, _T]): |