diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index a1c93d49f89..060fb83d054 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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()