summaryrefslogtreecommitdiff
path: root/src/lxml/tests/test_objectify.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2023-03-03 09:15:38 +0100
committerStefan Behnel <stefan_ml@behnel.de>2023-03-03 09:15:38 +0100
commit3d4e60f2835e4d85fd357c182656d3eca534f2ff (patch)
tree494c189a5ec3c12fa4aeea4d968b09bc5ce18112 /src/lxml/tests/test_objectify.py
parent4f7d52741149056dd4addde65d6257a80f8ade9e (diff)
downloadpython-lxml-3d4e60f2835e4d85fd357c182656d3eca534f2ff.tar.gz
Prevent lxml.objectify from accepting non-decimal digit characters as integers/numbers and from representing them as IntElement.
Diffstat (limited to 'src/lxml/tests/test_objectify.py')
-rw-r--r--src/lxml/tests/test_objectify.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lxml/tests/test_objectify.py b/src/lxml/tests/test_objectify.py
index f50a3447..a62df852 100644
--- a/src/lxml/tests/test_objectify.py
+++ b/src/lxml/tests/test_objectify.py
@@ -2663,6 +2663,7 @@ class ObjectifyTestCase(HelperTestCase):
<s>t</s>
<s>f</s>
<s></s>
+ <s>²²²²</s>
<s>12_34</s>
<s>1.2_34</s>
<s>34E</s>