From 04360c3e8a8852ed7813ce83bd6e7e002bffd373 Mon Sep 17 00:00:00 2001 From: StellarisW Date: Fri, 29 Nov 2024 13:07:06 +0800 Subject: [PATCH] fix: sub module conflict error --- tests/test_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_parser.py b/tests/test_parser.py index 5752dcf..fa05c65 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -41,7 +41,7 @@ def test_include(): def test_include_with_module_name_prefix(): - thrift = load('parser-cases/include.thrift', module_name='parser_cases.include_thrift') + load('parser-cases/include.thrift', module_name='parser_cases.include_thrift') assert sys.modules['parser_cases.include_thrift'] is not None assert sys.modules['parser_cases.included_thrift'] is not None assert sys.modules['parser_cases.include.included_1_thrift'] is not None