--- a/tests/test-check-code.t Wed Dec 21 22:42:31 2016 +0530
+++ b/tests/test-check-code.t Wed Dec 21 23:40:38 2016 +0530
@@ -9,21 +9,6 @@
$ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
> sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
- hgext/fsmonitor/__init__.py:295:
- > switch_slashes = os.sep == '\\'
- use pycompat.ossep instead (py3)
- hgext/fsmonitor/__init__.py:395:
- > if 'FSMONITOR_LOG_FILE' in os.environ:
- use encoding.environ instead (py3)
- hgext/fsmonitor/__init__.py:396:
- > fn = os.environ['FSMONITOR_LOG_FILE']
- use encoding.environ instead (py3)
- hgext/fsmonitor/__init__.py:437:
- > 'HG_PENDING' not in os.environ)
- use encoding.environ instead (py3)
- hgext/fsmonitor/__init__.py:548:
- > if sys.platform == 'darwin':
- use pycompat.sysplatform instead (py3)
Skipping i18n/polib.py it has no-che?k-code (glob)
mercurial/demandimport.py:309:
> if os.environ.get('HGDEMANDIMPORT') != 'disable':