FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix test checking for error message · python/cpython@e360795 · GitHub

Repository navigation

Commit e360795

Browse files
committed
fix test checking for error message
1 parent 2021100 commit e360795

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/runpy.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _run_module_as_main(mod_name, alter_argv=True):
147147
else:
148148
# For directories/zipfiles, let the user
149149
# know what the code was looking for
150-
info = "can't find '__main__.py' in %r" % sys.argv[0]
150+
info = "can't find '__main__' module in %r" % sys.argv[0]
151151
msg = "%s: %s" % (sys.executable, info)
152152
sys.exit(msg)
153153
pkg_name = mod_name.rpartition('.')[0]

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL