tests/test-check-pyflakes.t
author Sushil khanchi <sushilkhanchi97@gmail.com>
Fri, 22 Feb 2019 23:57:18 +0530
changeset 4406 450487b4e1a3
parent 4333 824fcba2cdb4
permissions -rw-r--r--
tests: update the title of a test as it's not what it says I see that this test has conflict in relocation and in merging also. We do have a test for the case when only relocation leads to conflict.

#require test-repo pyflakes

Copied from Mercurial core (60ee2593a270)

  $ cd "`dirname "$TESTDIR"`"

run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)

  $ hg locate -I 'set:(**.py or grep("^#!.*python")) - removed()' 2>/dev/null \
  > | xargs pyflakes 2>/dev/null