diff options
author | Ran Benita <ran@unusedvar.com> | 2019-12-02 18:01:08 +0200 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2019-12-02 21:52:11 +0200 |
commit | 16ff9f591e38d1f2a79441f177130b1d89098c6e (patch) | |
tree | 7dbe4f599dc8e8806bedf0af33229a1653f855d4 /src/_pytest/compat.py | |
parent | da091b832d82b79f800db7f709591184a4ece696 (diff) | |
download | pytest-16ff9f591e38d1f2a79441f177130b1d89098c6e.tar.gz |
Update mypy 0.740 -> 0.750
Release notes:
https://mypy-lang.blogspot.com/2019/11/mypy-0.html
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]): |