diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-10-19 16:28:24 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-10-19 16:28:24 (GMT) |
commit | 92a27b5206a7302c88f39f852cb92a31136b0e22 (patch) | |
tree | 3955929bb06552480c0ff12522a2e659c764308e | |
parent | d9f1944fc30510e8c4f8c159602d202a5f2293f6 (diff) | |
download | cpython-92a27b5206a7302c88f39f852cb92a31136b0e22.zip cpython-92a27b5206a7302c88f39f852cb92a31136b0e22.tar.gz cpython-92a27b5206a7302c88f39f852cb92a31136b0e22.tar.bz2 |
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.
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index d8456df..eb7155a 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() |