# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1522078341 25200 # Node ID 0e06d8086295df76120d7094e95d2dc1dd487187 # Parent 4bd73a955ab03ca0c228ee112b37edfa0b235ca3 cbor: fix core test-check* This patch fixes couple of test-check* tests by making sure they skip testing the third party library cbor. Differential Revision: https://phab.mercurial-scm.org/D2751 diff -r 4bd73a955ab0 -r 0e06d8086295 tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Mon Mar 26 08:33:57 2018 -0700 +++ b/tests/test-check-py3-compat.t Mon Mar 26 08:32:21 2018 -0700 @@ -5,6 +5,7 @@ $ testrepohg files 'set:(**.py)' \ > -X hgdemandimport/demandimportpy2.py \ + > -X mercurial/thirdparty/cbor \ > | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py contrib/python-zstandard/setup.py not using absolute_import contrib/python-zstandard/setup_zstd.py not using absolute_import diff -r 4bd73a955ab0 -r 0e06d8086295 tests/test-check-pyflakes.t --- a/tests/test-check-pyflakes.t Mon Mar 26 08:33:57 2018 -0700 +++ b/tests/test-check-pyflakes.t Mon Mar 26 08:32:21 2018 -0700 @@ -16,6 +16,7 @@ $ testrepohg locate 'set:**.py or grep("^#!.*python")' \ > -X hgext/fsmonitor/pywatchman \ > -X mercurial/pycompat.py -X contrib/python-zstandard \ + > -X mercurial/thirdparty/cbor \ > 2>/dev/null \ > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"