Closed Bug 1917556 Opened 2 months ago Closed 2 months ago

Cannot run Mn tests with Python 3.12: _TextTestResult is deprecated since Python 3.2 and removed in 3.12

Categories

(Testing :: Marionette Client and Harness, defect, P3)

defect
Points:
1

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

Details

(Whiteboard: [webdriver:m12])

Attachments

(1 file)

See Removed section of https://docs.python.org/3/whatsnew/3.12.html

An alias of the TextTestResult class: _TextTestResult (deprecated in Python 3.2).

Should be updated at https://searchfox.org/mozilla-central/rev/04a47c08504e6357a3164163dd19a47754521204/testing/marionette/harness/marionette_harness/runner/base.py#225

unittest._TextTestResult.stopTest(self, *args, **kwargs)
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d16f1dfc28e [marionette] Fix Mn tests with Python 3.12 r=webdriver-reviewers,whimboo
No longer blocks: 1917379
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Points: --- → 1
Priority: -- → P3
Whiteboard: [webdriver:m12]
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: