summaryrefslogtreecommitdiff
path: root/numpy/typing/tests/test_runtime.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/typing/tests/test_runtime.py')
-rw-r--r--numpy/typing/tests/test_runtime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/typing/tests/test_runtime.py b/numpy/typing/tests/test_runtime.py
index 151b06bed..5b5df49dc 100644
--- a/numpy/typing/tests/test_runtime.py
+++ b/numpy/typing/tests/test_runtime.py
@@ -3,7 +3,7 @@
from __future__ import annotations
import sys
-from typing import get_type_hints, Union, Tuple, NamedTuple, get_args, get_origin
+from typing import get_type_hints, Union, NamedTuple, get_args, get_origin
import pytest
import numpy as np
@@ -12,7 +12,7 @@ import numpy.typing as npt
class TypeTup(NamedTuple):
typ: type
- args: Tuple[type, ...]
+ args: tuple[type, ...]
origin: None | type