Issue 34183: Lib/test/test_contextlib_async.py failed when ran as a script
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 <module> 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 -> closed resolution: fixed stage: patch review -> resolved |
| 2018-07-23 22:02:03 | serhiy.storchaka | set | messages: + msg322269 |
| 2018-07-23 20:39:05 | miss-islington | set | pull_requests: + pull_request7948 |
| 2018-07-23 20:38:33 | serhiy.storchaka | set | messages: + msg322255 |
| 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:
+ patch stage: patch review pull_requests: + pull_request7911 |
| 2018-07-21 17:40:37 | serhiy.storchaka | create | |
