diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-04-28 10:04:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 10:04:53 +0200 |
commit | 1c9532bb8857551d163517bf0028441c7cd544c8 (patch) | |
tree | 328461db08a78ff0db667e7135dd9d8e2f2e1ff5 /numpy/typing | |
parent | 7fe3ffadbbe9114cbc561c27d7a6d285f84fc129 (diff) | |
parent | 080cf82ebc5858ec47eff0d49bdf48b74f955274 (diff) | |
download | numpy-1c9532bb8857551d163517bf0028441c7cd544c8.tar.gz |
Merge pull request #22493 from mwtoews/maint-open
MAINT: remove redundant open() modes and io.open() alias
Diffstat (limited to 'numpy/typing')
-rw-r--r-- | numpy/typing/tests/test_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/typing/tests/test_typing.py b/numpy/typing/tests/test_typing.py index 5011339b5..bcaaf5250 100644 --- a/numpy/typing/tests/test_typing.py +++ b/numpy/typing/tests/test_typing.py @@ -431,7 +431,7 @@ def test_extended_precision() -> None: output_mypy = OUTPUT_MYPY assert path in output_mypy - with open(path, "r") as f: + with open(path) as f: expression_list = f.readlines() for _msg in output_mypy[path]: |