Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Tests failing on ppc64le

Đang mở
#477 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start by running the failing tests in tests/test_test.py and tests/legacy_api/test_test.py on ppc64le, focusing on the retry_until timeout assertions shown in the report. Check how the timing tolerance behaves on that platform; done means the tests pass there while still verifying the intended one-second timeout behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug Packaging

I am packaging libtmux for openSUSE. Unfortunately the tests fail on ppc64le. Could you have a look if this can be fixed?

[   82s] =================================== FAILURES ===================================
[   82s] ___________________ test_function_times_out_no_raise_assert ____________________
[   82s] 
[   82s]     def test_function_times_out_no_raise_assert() -> None:
[   82s]         ini = time()
[   82s]     
[   82s]         def never_true() -> bool:
[   82s]             return False
[   82s]     
[   82s]         assert not retry_until(never_true, 1, raises=False)
[   82s]     
[   82s]         end = time()
[   82s]     
[   82s] >       assert abs((end - ini) - 1.0) < 0.01
[   82s] E       assert 0.012233734130859375 < 0.01
[   82s] E        +  where 0.012233734130859375 = abs(((1679485925.7025032 - 1679485924.6902695) - 1.0))
[   82s] 
[   82s] tests/test_test.py:67: AssertionError
[   82s] _______________________ test_function_times_out_no_rise ________________________
[   82s] 
[   82s]     def test_function_times_out_no_rise() -> None:
[   82s]         ini = time()
[   82s]     
[   82s]         def never_true() -> bool:
[   82s]             return False
[   82s]     
[   82s]         retry_until(never_true, 1, raises=False)
[   82s]     
[   82s]         end = time()
[   82s]     
[   82s] >       assert abs((end - ini) - 1.0) < 0.01
[   82s] E       assert 0.013442516326904297 < 0.01
[   82s] E        +  where 0.013442516326904297 = abs(((1679485936.5801134 - 1679485935.566671) - 1.0))
[   82s] 
[   82s] tests/legacy_api/test_test.py:54: AssertionError
Ngôn ngữ chính
Python
Star
1.2k
Fork
127
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tmux-python/libtmux

Tất cả issue của tmux-python/libtmux

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.