[Differential] [Closed] D67: test-check-pyflakes: do not leave test.py in the repo

quark (Jun Wu) phabricator at mercurial-scm.org
Fri Jul 14 12:54:54 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1f3b54f392b0: test-check-pyflakes: do not leave test.py in the repo (authored by quark).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D67?vs=95&id=135

REVISION DETAIL
  https://phab.mercurial-scm.org/D67

AFFECTED FILES
  tests/test-check-pyflakes.t

CHANGE DETAILS

Index: tests/test-check-pyflakes.t
===================================================================
--- tests/test-check-pyflakes.t
+++ tests/test-check-pyflakes.t
@@ -1,7 +1,6 @@
 #require test-repo pyflakes hg10
 
   $ . "$TESTDIR/helpers-testrepo.sh"
-  $ cd "`dirname "$TESTDIR"`"
 
 run pyflakes on all tracked files ending in .py or without a file ending
 (skipping binary file random-seed)
@@ -12,6 +11,7 @@
   $ pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py"
   test.py:1: undefined name 'undefinedname'
   
+  $ cd "`dirname "$TESTDIR"`"
 
   $ testrepohg locate 'set:**.py or grep("^#!.*python")' \
   > -X hgext/fsmonitor/pywatchman \


EMAIL PREFERENCES
  https://phab.mercurial-scm.org/settings/panel/emailpreferences/

To: quark, #hg-reviewers, phillco, martinvonz
Cc: martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list