[PATCH 2 of 3 V2] run-tests: initialize global variables to suppress pyflakes warning

Yuya Nishihara yuya at tcha.org
Fri May 2 05:14:36 CDT 2014


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1399022723 -32400
#      Fri May 02 18:25:23 2014 +0900
# Node ID de513875f008f333f320aca0b236b6e8af54cdbf
# Parent  0b3efdcc4c0138bd3d59d83da137012382f63a2c
run-tests: initialize global variables to suppress pyflakes warning

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -101,6 +101,8 @@ IMPL_PATH = 'PYTHONPATH'
 if 'java' in sys.platform:
     IMPL_PATH = 'JYTHONPATH'
 
+TESTDIR = HGTMP = INST = BINDIR = TMPBINDIR = PYTHONDIR = None
+
 requiredtools = [os.path.basename(sys.executable), "diff", "grep", "unzip",
                  "gunzip", "bunzip2", "sed"]
 createdfiles = []


More information about the Mercurial-devel mailing list