`test_import` sometimes fails in "Hypothesis tests on Ubuntu" job
Đang mở
@ericsnowcurrently đang làm issue này rồi.
Từ ngày 9/4/2025.
tests
topic-importlib
topic-subinterpreters
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 35.9k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.