From: R. David Murray Date: Mon, 19 Oct 2009 16:28:24 +0000 (+0000) Subject: Eliminate warning message that looks like an error message. When it was X-Git-Tag: v2.7a1~304 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92a27b5206a7302c88f39f852cb92a31136b0e22;p=python 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 d8456dff62..eb7155a8bc 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1445,6 +1445,4 @@ if __name__ == '__main__': i -= 1 if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: del sys.path[i] - if '--slaveargs' not in sys.argv and len(sys.path) == pathlen: - print 'Could not find %r in sys.path to remove it' % mydir main()