Confirmed users
656
edits
| Line 52: | Line 52: | ||
# Set one of callek, ahal, or catlee as the code reviewer | # Set one of callek, ahal, or catlee as the code reviewer | ||
==== | ==== Enable Python 3 on more Python unittests ==== | ||
Python unittests are run with `./mach python-test` and are (usually) defined in `python.ini` files. To get a test running against Python 3: | |||
# Find a test that is skipped with Python 3, you can use [https://searchfox.org/mozilla-central/search?q=.*(skip|fail)-if.*python+%3F%3D%3D+%3F3&case=true®exp=true&path=.ini%24 this query] to find these tests. | |||
# Edit the manifest and remove the Python 3 skip-if annotation. | |||
# Run the test with `./mach python-test --python 3 path/to/test`. | |||
# Fix any errors and repeat the previous step. | |||
# Once it is passing locally, test it out on try. If there is no Python 3 task running this manifest already, you'll need to add one by adding `3` to the `python-version` key in [https://searchfox.org/mozilla-central/source/taskcluster/ci/source-test/python.yml python.yml]. | |||
# Push the task to try on all platforms it is configured for. | |||
==== Port a Mach Command ==== | ==== Port a Mach Command ==== | ||