From b35d88c2da6e1bc5e35ae72b3e707e93c7b72864 Mon Sep 17 00:00:00 2001 From: Arkadiusz Kuczynski Date: Wed, 4 Dec 2024 17:45:00 +0100 Subject: [PATCH] Trying new solution for dict. --- Tests/Regression/Reporter/read_docx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Regression/Reporter/read_docx.py b/Tests/Regression/Reporter/read_docx.py index b29b8d882..fe25c8981 100644 --- a/Tests/Regression/Reporter/read_docx.py +++ b/Tests/Regression/Reporter/read_docx.py @@ -186,7 +186,7 @@ def read_docx_file(docx_path: str, debug=False) -> dict: dict = {"Heading 1" = {"text" = ["line 1", "line 2", ...], "table" = [[row 1], [row 2], ...] }, ...} """ doc = Document(docx_path) - doc_data: dict[str, dict[str, list[str | list[str]]]] = dict() + doc_data: dict = {} current_heading_name = None