From af4200ce4597df088fa8bb8b33713fa8f5d18738 Mon Sep 17 00:00:00 2001 From: sun1638650145 <1638650145@qq.com> Date: Fri, 29 Mar 2024 12:16:17 +0800 Subject: [PATCH] Bugfix. --- tests/test_numpy_scalars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_numpy_scalars.py b/tests/test_numpy_scalars.py index 612242ad4..a21cf84e9 100644 --- a/tests/test_numpy_scalars.py +++ b/tests/test_numpy_scalars.py @@ -40,7 +40,7 @@ def scalar_type(request): def expected_signature(tp): s = "str" if sys.version_info[0] >= 3 else "unicode" t = type_name(tp) - return f"test_{t}(x: {t}) -> Tuple[{s}, {t}]\n" + return f"test_{t}(x: {t}) -> tuple[{s}, {t}]\n" def test_numpy_scalars(scalar_type):