`test_import` sometimes fails in "Hypothesis tests on Ubuntu" job
未关闭
@ericsnowcurrently 已经在做这个了。
开始于 2025年4月9日。
tests
topic-importlib
topic-subinterpreters
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
This is not the first time I see this, but the first time I decided to report it :)
======================================================================
FAIL: test_basic_multiple_interpreters_deleted_no_reset (test.test_import.SinglephaseInitTests.test_basic_multiple_interpreters_deleted_no_reset)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/support/__init__.py", line 1270, in wrapper
func(self)
~~~~^^^^^^
File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_import/__init__.py", line 3285, in test_basic_multiple_interpreters_deleted_no_reset
self.check_copied(loaded_interp1, base)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_import/__init__.py", line 2948, in check_copied
self.assertNotEqual(snap.id, base.snapshot.id)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 140557519167152 == 140557519167152
----------------------------------------------------------------------
Link: https://github.com/python/cpython/actions/runs/13854070641/job/38766894924?pr=131220
Linked PRs
- gh-141552
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。