Closed
Bug 1572405
Opened 5 years ago
Closed 5 years ago
WebIDL test_conditional_dictionary_member fails on Python 3
Categories
(Core :: DOM: Bindings (WebIDL), defect)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
Details
Attachments
(1 file)
Result summary:
Successful: 5157
Unexpected: 1
tests\test_conditional_dictionary_member.py:
TEST-UNEXPECTED-FAIL | Unhandled exception in test test_conditional_dictionary_member: local variable 'exception' referenced before assignment
It passes on Python 2 so it should be a Python 3 compatibility issue.
Assignee | ||
Comment 1•5 years ago
|
||
except Exception as exception
in Python 3 removes the exception
variable in the outer scope whereas Python 2 does not. This mitigates the error caused by the Py3 behavior.
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a6a7c51f430a Fix Py3 referenced before assignment error r=bzbarsky
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → saschanaz
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•