[Python-checkins] r75524 - python/trunk/Lib/test/regrtest.py
r.david.murray
python-checkins at python.org
Mon Oct 19 18:28:24 CEST 2009
Author: r.david.murray
Date: Mon Oct 19 18:28:24 2009
New Revision: 75524
Log:
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.
Modified:
python/trunk/Lib/test/regrtest.py
Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py (original)
+++ python/trunk/Lib/test/regrtest.py Mon Oct 19 18:28:24 2009
@@ -1445,6 +1445,4 @@
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()
More information about the Python-checkins
mailing list