summaryrefslogtreecommitdiff
path: root/numpy/typing
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-10-28 22:37:29 +1300
committerMike Taves <mwtoews@gmail.com>2022-10-29 14:08:54 +1300
commit080cf82ebc5858ec47eff0d49bdf48b74f955274 (patch)
treec843b284d9994186ab988c7c535a895433ae9905 /numpy/typing
parenta8ebbd5fdb9df3d1d2885b24e783757d747dec8e (diff)
downloadnumpy-080cf82ebc5858ec47eff0d49bdf48b74f955274.tar.gz
MAINT: remove redundant open() modes and io.open() alias
Diffstat (limited to 'numpy/typing')
-rw-r--r--numpy/typing/tests/test_typing.py2
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]: