python / python/cpython

Mock.assert_has_calls works strange

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

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

3.10 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 43371
Nosy @cjw296, @voidspace, @lisroach, @corona10, @mariocj89, @tirkarthi, @kamilturek
Files
  • test_mock_asser_has_calls.py
  • 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 2021-03-02.14:31:34.302>
    labels = ['3.8', 'type-bug', 'library', '3.10']
    title = 'Mock.assert_has_calls works strange'
    updated_at = <Date 2022-01-16.03:21:02.855>
    user = 'https://bugs.python.org/dmitriymironiyk'
    

    bugs.python.org fields:

    activity = <Date 2022-01-16.03:21:02.855>
    actor = 'roysmith'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-03-02.14:31:34.302>
    creator = 'dmitriy.mironiyk'
    dependencies = []
    files = ['49845']
    hgrepos = []
    issue_num = 43371
    keywords = []
    message_count = 4.0
    messages = ['387932', '388758', '397172', '410667']
    nosy_count = 10.0
    nosy_names = ['roysmith', 'cjw296', 'michael.foord', 'lisroach', 'corona10', 'mariocj89', 'xtreak', 'dmitriy.mironiyk', 'kamilturek', 'mardoxx']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43371'
    versions = ['Python 3.8', 'Python 3.10']
    

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    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.

    Hướng nghiên cứu

    Issue nêu test_mock_asser_has_calls.py là tệp duy nhất; hãy bắt đầu bằng cách đọc tệp này và tái hiện hành vi Mock.assert_has_calls được báo cáo. Làm rõ kết quả mong đợi từ cuộc thảo luận về issue trước khi thay đổi mã, sau đó thêm một bài kiểm thử hồi quy tập trung và chạy các bài kiểm thử Mock liên quan.

    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-qa
    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
    25/100

    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.