diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-12-21 23:41:09 +0100 |
---|---|---|
committer | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-12-23 21:15:00 +0100 |
commit | fe361df62b101a27fd2ea203fb0b79b6a5f61401 (patch) | |
tree | b4b8c0387ea22d4d70e83f318dd306cd75a782a5 /numpy/testing | |
parent | 7b5f39b5eeac583f822741eaf95a8229f2b5f8d7 (diff) | |
download | numpy-fe361df62b101a27fd2ea203fb0b79b6a5f61401.tar.gz |
STY: Use subscriptable `collections.abc` types over the generic aliases in …
Diffstat (limited to 'numpy/testing')
-rw-r--r-- | numpy/testing/_private/utils.pyi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/numpy/testing/_private/utils.pyi b/numpy/testing/_private/utils.pyi index ab3e6f805..8117f18ae 100644 --- a/numpy/testing/_private/utils.pyi +++ b/numpy/testing/_private/utils.pyi @@ -5,17 +5,15 @@ import types import warnings import unittest import contextlib +from re import Pattern +from collections.abc import Callable, Iterable, Sequence from typing import ( Literal as L, Any, AnyStr, - Callable, ClassVar, - Iterable, NoReturn, overload, - Pattern, - Sequence, type_check_only, TypeVar, Union, |