Open
Bug 1526335
Opened 6 years ago
Updated 3 years ago
[mozversion] Fix test_real_binary under Python 3
Categories
(Testing :: Mozbase, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: davehunt, Unassigned)
References
Details
Attachments
(1 obsolete file)
Currently test_real_binary in testing/mozbase/mozversion/tests/test_binary.py is being skipped when run on Python 3 because MozbuildObject.from_environment is throwing an ImportError due to StringIO. Fixing this is quite simple, but that's just the start of the rabbit-hole.
Once mozbuild supports Python 3 (or at least the areas touched by the binary fixture in testing/mozbase/moztest/moztest/selftest/fixtures.py we should see this test passing.
I'm raising this bug so we're aware of the reduced coverage on Python 3. Also, it could probably be fixed without wholesale support for Python 3 in mozbuild.
| Reporter | ||
Comment 1•6 years ago
|
||
To run this test, use the following command:
PYTEST_ADDOPTS="-k test_real_binary" mach python-test --python 3.5 testing/mozbase/mozversion
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Attachment #9064428 -
Attachment is obsolete: true
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•