Skip to content

Commit 28f1ff4

Browse files
committed
Reinstate string tests that now seem to work
1 parent bc42ee9 commit 28f1ff4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

test/builtin/test_strings.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,9 @@
219219
"StringSplit[x, x]",
220220
None,
221221
),
222-
# These tests are commented out due to the bug reported in issue #906
223-
# Octal and hexadecimal notation works alone, but fails
224-
# as a part of another expression. For example,
225-
# F[\.78\.79\.7A] or "\.78\.79\.7A" produces a syntax error in Mathics.
226-
# Here, this is put inside a ToString[...] and hence, it does not work.
227-
# (r"\.78\.79\.7A=37; xyz", None, '37', "Octal characters. check me."),
228-
# (r"\:0078\:0079\:007A=38;xyz", None, '38', "Hexadecimal characters. Check me."),
229-
# (r"\101\102\103\061\062\063=39;ABC123", None, "39", None),
222+
(r"\.78\.79\.7A=37; xyz", None, "37", "Octal characters. check me."),
223+
(r"\:0078\:0079\:007A=38;xyz", None, "38", "Hexadecimal characters. Check me."),
224+
(r"\101\102\103\061\062\063=39;ABC123", None, "39", None),
230225
(r"xyz=.;ABC123=.;\[Alpha]\[Beta]\[Gamma]", None, "\u03b1\u03b2\u03b3", None),
231226
('LetterQ[""]', None, "True", None),
232227
(

0 commit comments

Comments
 (0)