From: R. David Murray Date: Wed, 28 Oct 2009 01:49:02 +0000 (+0000) Subject: Merged revisions 75524 via svnmerge from X-Git-Tag: v2.6.5rc1~420 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48daba677da95d4db6238882ad3b61ba3644bda8;p=python Merged revisions 75524 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines Eliminate warning message that looks like an error message. When it was added not finding Lib/test in the path indicated something was wrong, but when running regtest using "python -m" Lib/test isn't typically in the path, so this message is now more disturbing than it is helpful. ........ --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 996395bb8e..edff8bcde6 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1192,6 +1192,4 @@ if __name__ == '__main__': i -= 1 if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: del sys.path[i] - if len(sys.path) == pathlen: - print 'Could not find %r in sys.path to remove it' % mydir main()