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

login
register
mail settings
Submitter Yuya Nishihara
Date May 2, 2014, 10:14 a.m.
Message ID <de513875f008f333f320.1399025676@gimlet>
Download mbox | patch
Permalink /patch/4493/
State Accepted
Commit 1ce16c7b7fb4e0f92aca8f882767feaa464848bb
Headers show

Comments

Yuya Nishihara - May 2, 2014, 10:14 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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

Patch

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 = []