mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
83c88e7a24
Summary: When testing code in this repo, it's an easy mistake to import a module of a same name installed in the system or specified by `PYTHONPATH`. This diff adds a test module to detect that. It's included in `unit.py` so `arc unit` will be able to find such issues It will be more effective if all our extensions are moved to hgext3rd. Test Plan: Append a blank line to every `.t` files, and run `unit.py` with `hg-dev` environment, and make sure nothing got reported. Reviewers: durham, #mercurial, mitrandir Reviewed By: mitrandir Subscribers: mitrandir, medson, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5274454 Signature: t1:5274454:1497976474:1b25881f022e148b89829ed3f4d6a79437f2533f |
||
---|---|---|
.. | ||
hg-new-workdir | ||
lint.py | ||
scm-prompt.sh | ||
traceprof.py | ||
unit.py | ||
utils.py | ||
with-hg-dev |