]> granicus.if.org Git - python/commitdiff
Merged revisions 75524 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Wed, 28 Oct 2009 01:49:02 +0000 (01:49 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 28 Oct 2009 01:49:02 +0000 (01:49 +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 996395bb8e3de8550e80bfcf2ca53323f01c5eee..edff8bcde616143dab927a56fe289b1c30fd9467 100755 (executable)
@@ -1192,6 +1192,4 @@ if __name__ == '__main__':
         i -= 1
         if os.path.abspath(os.path.normpath(sys.path[i])) == mydir:
             del sys.path[i]
-    if len(sys.path) == pathlen:
-        print 'Could not find %r in sys.path to remove it' % mydir
     main()