doctest cause warnings in tests using generators
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
- 28/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- 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 reviewing the three linked doctest.txt files, especially the spurious-warning and corrected examples, then reproduce the generator-related warning described in issue 21178. Compare the examples to determine what test behavior needs changing; done means the relevant doctest runs without the unintended warning while preserving the corrected case.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
| BPO | 21178 |
|---|---|
| Nosy | @terryjreedy, @ncoghlan, @iritkatriel |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2014-04-08.10:49:06.857>
labels = ['type-bug', 'tests', '3.9', '3.10', '3.11']
title = 'doctest cause warnings in tests using generators'
updated_at = <Date 2021-12-10.18:23:29.804>
user = 'https://bugs.python.org/oluensdorf'
bugs.python.org fields:
activity = <Date 2021-12-10.18:23:29.804>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2014-04-08.10:49:06.857>
creator = 'oluensdorf'
dependencies = []
files = ['34760', '34761', '34790']
hgrepos = []
issue_num = 21178
keywords = []
message_count = 5.0
messages = ['215750', '215755', '215948', '215965', '408239']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'ncoghlan', 'oluensdorf', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue21178'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 558
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.
Issue khác của python/cpython
-
docs pending
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
stdlib type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
build type-bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
stdlib topic-email type-feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Tất cả issue của python/cpython
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
PolicyEngine/policyengine-us#9559 ·
-
priority: p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
googleapis/librarian#7636 ·
-
from:qa priority:P2 reliability tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
spec-kitty/spec-kitty#4874 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100