From a4d93fcba57de55a801157f89ac248a4a6a42a95 Mon Sep 17 00:00:00 2001 From: Nora-Olivia-Ammann <103038637+Nora-Olivia-Ammann@users.noreply.github.com> Date: Mon, 29 Jan 2024 09:53:25 +0100 Subject: [PATCH] chore: add permission to test data (#768) --- docs/excel2xml-module.md | 2 ++ .../test_circular_references_1.xml | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/excel2xml-module.md b/docs/excel2xml-module.md index 9c845d327..e489cc3e3 100644 --- a/docs/excel2xml-module.md +++ b/docs/excel2xml-module.md @@ -344,6 +344,8 @@ might expect: | `pandas.NA` | TypeError (*) | False, because N/A is not a usable value | | "<NA>" | True | False, because this is the string representation of N/A | | "-" | True | False, because this is a placeholder in an empty text field | + + (*) TypeError: boolean value of NA is ambiguous In contrast, `check_notna(cell)` will return the expected value for all cases in the table! diff --git a/testdata/xml-data/circular-references/test_circular_references_1.xml b/testdata/xml-data/circular-references/test_circular_references_1.xml index cba9070e6..7c5273536 100644 --- a/testdata/xml-data/circular-references/test_circular_references_1.xml +++ b/testdata/xml-data/circular-references/test_circular_references_1.xml @@ -1,5 +1,29 @@ + + + RV + V + M + CR + + + V + CR + CR + + + V + V + D + CR + + + V + CR + CR + + Start textres_B_11end text.