Title: Cannot run tests · Issue #104070 · python/cpython · GitHub
Open Graph Title: Cannot run tests · Issue #104070 · python/cpython
X Title: Cannot run tests · Issue #104070 · python/cpython
Description: On current main, I got this: C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -v test_typing Running Debug|x64 interpreter... == CPython 3.12.0a7+ (heads/issue-104057-dirty:d9931f6855, May 1 2023, 23:20:40) [MSC v.1933 64 bit (A...
Open Graph Description: On current main, I got this: C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -v test_typing Running Debug|x64 interpreter... == CPython 3.12.0a7+ (heads/issue-104057-dirty:d9931f6855, May...
X Description: On current main, I got this: C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -v test_typing Running Debug|x64 interpreter... == CPython 3.12.0a7+ (heads/issue-104057-dirty:d9931f6855, ...
Opengraph URL: https://github.com/python/cpython/issues/104070
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot run tests ","articleBody":"On current main, I got this:\r\n```python3\r\n C:\\Users\\KIRILL-1\\CLionProjects\\cpython\u003e ./python -m test -v test_typing\r\nRunning Debug|x64 interpreter...\r\n== CPython 3.12.0a7+ (heads/issue-104057-dirty:d9931f6855, May 1 2023, 23:20:40) [MSC v.1933 64 bit (AMD64)]\r\n== Windows-10-10.0.19043-SP0 little-endian\r\n== Python build: debug\r\n== cwd: C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\build\\test_python_19412æ\r\n== CPU count: 16\r\n== encodings: locale=cp1251, FS=utf-8\r\n0:00:00 Run tests sequentially\r\n0:00:00 [1/1] test_typing\r\ntest test_typing crashed -- Traceback (most recent call last):\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\test\\libregrtest\\runtest.py\", line 373, in _runtest_inner\r\n refleak = _runtest_inner2(ns, test_name)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\test\\libregrtest\\runtest.py\", line 313, in _runtest_inner2\r\n the_module = importlib.import_module(abstest)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\importlib\\__init__.py\", line 124, in import_module\r\n return _bootstrap._gcd_import(name[level:], package, level)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1332, in _gcd_import\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1305, in _find_and_load\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1276, in _find_and_load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 841, in _load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 1027, in exec_module\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 400, in _call_with_frames_removed\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\test\\test_typing.py\", line 12, in \u003cmodule\u003e\r\n from unittest.mock import patch\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\unittest\\mock.py\", line 26, in \u003cmodule\u003e\r\n import asyncio\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\asyncio\\__init__.py\", line 8, in \u003cmodule\u003e\r\n from .base_events import *\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\asyncio\\base_events.py\", line 45, in \u003cmodule\u003e\r\n from . import staggered\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\asyncio\\staggered.py\", line 11, in \u003cmodule\u003e\r\n from . import tasks\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\asyncio\\tasks.py\", line 946, in \u003cmodule\u003e\r\n eager_task_factory = create_eager_task_factory(Task)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\KIRILL-1\\CLionProjects\\cpython\\Lib\\asyncio\\tasks.py\", line 936, in create_eager_task_factory\r\n raise TypeError(\r\nTypeError: Provided constructor does not support eager task execution\r\n\r\ntest_typing failed (uncaught exception)\r\n\r\n== Tests result: FAILURE ==\r\n\r\n1 test failed:\r\n test_typing\r\n\r\nTotal duration: 672 ms\r\nTests result: FAILURE\r\n```","author":{"url":"https://github.com/Eclips4","@type":"Person","name":"Eclips4"},"datePublished":"2023-05-01T22:48:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/104070/cpython/issues/104070"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dd5a8772-ddd7-772a-eff6-1ab173d8e913 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DFA:37C592:1687257:1E25048:6969AA28 |
| html-safe-nonce | 309ad7f4078ef779cdee043e7a548314f60788b5c44c99ec9a1c90858a0a79ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REZBOjM3QzU5MjoxNjg3MjU3OjFFMjUwNDg6Njk2OUFBMjgiLCJ2aXNpdG9yX2lkIjoiNjQyODYzMDc5MzI3Njk5MjA0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 943127f1e3d45c5ed7407ffb6d9e166699a8ed933b1f9ceba733cff1f6a239f9 |
| hovercard-subject-tag | issue:1691513686 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/104070/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1768d52bb7b802aac466c9a7844bfbc131c175b1a86dff521467401d082f2a08/python/cpython/issues/104070 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1768d52bb7b802aac466c9a7844bfbc131c175b1a86dff521467401d082f2a08/python/cpython/issues/104070 |
| og:image:alt | On current main, I got this: C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -v test_typing Running Debug|x64 interpreter... == CPython 3.12.0a7+ (heads/issue-104057-dirty:d9931f6855, May... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Eclips4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width