gh-75221: Search __main__ only in the executed directory or zipfile (GH-155256) runpy.run_path() and the execution of a directory or a zipfile searched the __main__ module in the whole sys.path, so an existing __main__ module located elsewhere could be executed instead of failing. As a result, running Lib/test/test_runpy.py directly ran the whole test suite. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>