Closed Bug 738734 Opened 12 years ago Closed 12 years ago

convertAcceptanceToJunit.py uses syntax incompatible with python3

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dschaffe, Assigned: dschaffe)

Details

Attachments

(1 file)

Script test/util/convertAcceptanceToJunit.py uses incompatible syntax with python3.

The statement:
str=re.sub(b'[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F]','',str)

causes an error in python3.
Attached patch pachSplinter Review
I believe just removed the b'' making it a string instead of a byte data structure will fix the problem.  I ran the Unicode tests with verbose and used firefox to verify the xml file is ok.
Assignee: nobody → dschaffe
Status: NEW → ASSIGNED
Attachment #608811 - Flags: review?(brbaker)
Attachment #608811 - Flags: review?(brbaker) → review+
changelist:  1047399
user:        Dan Schaffer <Dan.Schaffer@adobe.com>
date:        Mon Mar 26 12:40:47 2012 +0000
summary:     bug 738734: fix for convertAcceptanceToJunit.py python3 incompatibility (pending r=brbaker)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
changeset: 7323:a1ee3e1f4e17
user:      Dan Schaffer <Dan.Schaffer@adobe.com>
summary:   bug 738734: fix for convertAcceptanceToJunit.py python3 incompatibility (pending r=brbaker)

http://hg.mozilla.org/tamarin-redux/rev/a1ee3e1f4e17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: