From 8b2372ea020a4a0eaf4f4abcf8ef3c8f3a553435 Mon Sep 17 00:00:00 2001 From: gentlegiantJGC Date: Mon, 30 Dec 2024 17:29:18 +0000 Subject: [PATCH] Fixed type hint --- tests/test_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_modules.py b/tests/test_modules.py index 21048053a8..ad898be89a 100644 --- a/tests/test_modules.py +++ b/tests/test_modules.py @@ -84,7 +84,7 @@ def test_pydoc(): def test_module_handle_type_name(): assert ( m.def_submodule.__doc__ - == "def_submodule(arg0: module, arg1: str) -> types.ModuleType\n" + == "def_submodule(arg0: types.ModuleType, arg1: str) -> types.ModuleType\n" )