From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:25:48 +0000 (+0100) Subject: [3.11] gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (#116795) X-Git-Tag: v3.11.9~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c42e709e5a263ae3140712b3944477c510d7bc8c;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (#116795) gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (cherry picked from commit 66fb613d90fe3dea32130a5937963a9362c8a59e) Co-authored-by: Nikita Sobolev --- diff --git a/Lib/test/test_inspect/test_inspect.py b/Lib/test/test_inspect/test_inspect.py index 5f7e70e3ab7c..5abb66c7ae4b 100644 --- a/Lib/test/test_inspect/test_inspect.py +++ b/Lib/test/test_inspect/test_inspect.py @@ -32,11 +32,11 @@ from test.support.os_helper import TESTFN from test.support.script_helper import assert_python_ok, assert_python_failure from test import support -from . import inspect_fodder as mod -from . import inspect_fodder2 as mod2 -from . import inspect_stock_annotations -from . import inspect_stringized_annotations -from . import inspect_stringized_annotations_2 +from test.test_inspect import inspect_fodder as mod +from test.test_inspect import inspect_fodder2 as mod2 +from test.test_inspect import inspect_stock_annotations +from test.test_inspect import inspect_stringized_annotations +from test.test_inspect import inspect_stringized_annotations_2 # Functions tested in this suite: