Commit 92a27b52 authored by R. David Murray's avatar R. David Murray

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.
parent d9f1944f
...@@ -1445,6 +1445,4 @@ if __name__ == '__main__': ...@@ -1445,6 +1445,4 @@ if __name__ == '__main__':
i -= 1 i -= 1
if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: if os.path.abspath(os.path.normpath(sys.path[i])) == mydir:
del sys.path[i] 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() main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment