mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
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.
This commit is contained in:
parent
d9f1944fc3
commit
92a27b5206
1 changed files with 0 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue