diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index d8456dff622..eb7155a8bc4 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()