call-matcher breaks if a method is mocked with spec=True
Đang mở
Chưa có ai nhận issue này.
3.7 (EOL)
3.8 (EOL)
stdlib
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| BPO | 27715 |
|---|---|
| Nosy | @pitrou, @cjw296, @carljm, @voidspace, @eli-b, @mariocj89, @tirkarthi |
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 2016-08-09.02:43:25.702>
labels = ['3.7', '3.8', 'type-bug', 'library']
title = 'call-matcher breaks if a method is mocked with spec=True'
updated_at = <Date 2018-12-14.18:11:33.421>
user = 'https://github.com/carljm'
bugs.python.org fields:
activity = <Date 2018-12-14.18:11:33.421>
actor = 'xtreak'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2016-08-09.02:43:25.702>
creator = 'carljm'
dependencies = []
files = []
hgrepos = []
issue_num = 27715
keywords = []
message_count = 7.0
messages = ['272209', '272210', '272211', '272212', '286769', '299319', '331846']
nosy_count = 9.0
nosy_names = ['pitrou', 'cjw296', 'carljm', 'michael.foord', 'Eli_B', 'jordan-pittier', 'mariocj89', 'David Hoyes', 'xtreak']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27715'
versions = ['Python 3.7', 'Python 3.8']
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.
Hướng nghiên cứu
Bắt đầu bằng cách tìm phần triển khai call-matcher trong thư viện mocking của Python và tái hiện lỗi liên quan đến một phương thức được mock với spec=True. Xác định hành vi khớp mong đợi dựa trên bug được báo cáo trong issue, sau đó bổ sung coverage cho trường hợp này và xác minh rằng matcher không còn bị lỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- testing
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100