]> granicus.if.org Git - python/commitdiff
Merged revisions 75524 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Mon, 19 Oct 2009 16:33:43 +0000 (16:33 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 19 Oct 2009 16:33:43 +0000 (16:33 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines

  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.
........

Lib/test/regrtest.py

index a1c93d49f89dcfa7c49520be58a2969b413d2612..060fb83d0540c6b86a25e3e806787925b73b0fa9 100755 (executable)
@@ -1368,6 +1368,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()