Issue 34183: Lib/test/test_contextlib_async.py failed when ran as a script (original) (raw)
Issue34183
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/78364
classification
Title: | Lib/test/test_contextlib_async.py failed when ran as a script | ||
---|---|---|---|
Type: | behavior | Stage: | resolved |
Components: | Tests | Versions: | Python 3.8, Python 3.7 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | serhiy.storchaka | Nosy List: | serhiy.storchaka |
Priority: | normal | Keywords: | patch |
Created on 2018-07-21 17:40 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Pull Requests | |||
---|---|---|---|
URL | Status | Linked | Edit |
PR 8381 | merged | serhiy.storchaka,2018-07-21 17:43 | |
PR 8422 | merged | miss-islington,2018-07-23 20:39 |
Messages (3) | ||
---|---|---|
msg322112 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2018-07-21 17:40 |
$ ./python Lib/test/test_contextlib_async.py Lib/test/test_contextlib_async.py:7: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__ from .test_contextlib import TestBaseExitStack Traceback (most recent call last): File "Lib/test/test_contextlib_async.py", line 7, in from .test_contextlib import TestBaseExitStack ModuleNotFoundError: No module named '__main__.test_contextlib'; '__main__' is not a package | ||
msg322255 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2018-07-23 20:38 |
New changeset db8e3a1e4476620b2b5aaf57acfc3ef58a08213b by Serhiy Storchaka in branch 'master': bpo-34183: Fix running Lib/test/test_contextlib_async.py as a script. (GH-8381) https://github.com/python/cpython/commit/db8e3a1e4476620b2b5aaf57acfc3ef58a08213b | ||
msg322269 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * ![]() |
Date: 2018-07-23 22:02 |
New changeset 519fc551d7778ac698033846bb052a12b7d491e2 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7': bpo-34183: Fix running Lib/test/test_contextlib_async.py as a script. (GH-8381) (GH-8422) https://github.com/python/cpython/commit/519fc551d7778ac698033846bb052a12b7d491e2 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:03 | admin | set | github: 78364 |
2018-07-23 22:05:43 | serhiy.storchaka | set | status: open -> closedresolution: fixedstage: patch review -> resolved |
2018-07-23 22:02:03 | serhiy.storchaka | set | messages: + |
2018-07-23 20:39:05 | miss-islington | set | pull_requests: + <pull%5Frequest7948> |
2018-07-23 20:38:33 | serhiy.storchaka | set | messages: + |
2018-07-21 17:49:37 | serhiy.storchaka | set | title: Lib/test/test_contextlib_async.py failed when run as a script -> Lib/test/test_contextlib_async.py failed when ran as a script |
2018-07-21 17:43:58 | serhiy.storchaka | set | keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest7911> |
2018-07-21 17:40:37 | serhiy.storchaka | create |
Supported by The Python Software Foundation,
Powered by Roundup
Copyright © 1990-2022, Python Software Foundation
Legal Statements