summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-10-28 14:07:51 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-10-28 14:07:51 (GMT)
commit7b1b094ff17035d35c3736bcca12229fa360d33a (patch)
tree27edb757adda1ef29db23b861fbe0d3a20da7ef2 /Lib/test
parent4c7b5323187799590f31429caf90afbbdd418f2a (diff)
downloadcpython-7b1b094ff17035d35c3736bcca12229fa360d33a.zip
cpython-7b1b094ff17035d35c3736bcca12229fa360d33a.tar.gz
cpython-7b1b094ff17035d35c3736bcca12229fa360d33a.tar.bz2
Merged revisions 75920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines Remove variable that is no longer used. ........
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 93561af..2b8a6a7 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1368,7 +1368,7 @@ if __name__ == '__main__':
# much of the testing framework relies on the globals in the
# test.support module.
mydir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
- i = pathlen = len(sys.path)
+ i = len(sys.path)
while i >= 0:
i -= 1
if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: