зеркало из https://github.com/mozilla/gecko-dev.git
4c6985333a
Pipenv is heavy weight and overkill for the purposes it is being used. We'd like to remove it from the tree and |mach python-test| was one of the last remanining use cases. Remove the `--python` command-line argument as a result. Users who wish to run unit tests with Python 2 can do `MACH_PY2=1 ./mach python-test ...` or `python2 ./mach python-test ...`. Also update a few unit tests that would break otherwise in the presence of this change. There were a couple lines in the `setup.py` for `mozlog` that were problematic for tests and was resulting in errors due to the `mozlog` plugin being loaded by `pytest` more than once. We just delete those lines and bump up the major version number of the package to fix it. Differential Revision: https://phabricator.services.mozilla.com/D88296 |
||
---|---|---|
.. | ||
mozproxy | ||
tests | ||
MANIFEST.in | ||
setup.py |