diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 996395bb8e3..edff8bcde61 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1192,6 +1192,4 @@ def getexpected(self): 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()