From 1c817aa7bd76b95f7bfc10add44cce9a6372c78f Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 18 Apr 2012 11:26:44 -0400 Subject: [PATCH] don't use octal syntax, since its not py2/py3 compatible --- testing/test_junitxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py index c82ee84c6..0f724b5c4 100644 --- a/testing/test_junitxml.py +++ b/testing/test_junitxml.py @@ -356,7 +356,7 @@ def test_invalid_xml_escape(): unichr = chr u = py.builtin._totext invalid = (0x00, 0x1, 0xB, 0xC, 0xE, 0x19, - 033, # issue #126 + 27, # issue #126 0xD800, 0xDFFF, 0xFFFE, 0x0FFFF) #, 0x110000) valid = (0x9, 0xA, 0x20,) # 0xD, 0xD7FF, 0xE000, 0xFFFD, 0x10000, 0x10FFFF)