What should the error message in the exception raised by assertTrue and assertFalse be?

Đang mở
#82,887 19 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ 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

Bắt đầu bằng việc xem xét phần thảo luận của issue và các pull request được tham chiếu là python/cpython#17049 và #17073; payload không chỉ rõ tệp nguồn hoặc test nào. Được xem là hoàn tất khi đạt được đặc tả thông báo lỗi đã thống nhất cho assertTrue và assertFalse, sau đó xác thực đặc tả này dựa trên phần công việc review hiện có.

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

Mô tả

stdlib type-feature
BPO 38706
Nosy @terryjreedy, @mdickinson, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @encukou, @serhiy-storchaka, @ammaraskar, @brandtbucher, @michael-karotsieris
PRs
  • python/cpython#17049
  • python/cpython#17073
  • 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 2019-11-05.21:16:18.934>
    labels = ['type-feature', 'library', '3.9']
    title = 'What should the error message in the exception raised by assertTrue and assertFalse be?'
    updated_at = <Date 2019-12-06.11:51:47.142>
    user = 'https://github.com/michael-karotsieris'
    

    bugs.python.org fields:

    activity = <Date 2019-12-06.11:51:47.142>
    actor = 'steven.daprano'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-11-05.21:16:18.934>
    creator = 'mkarotsieris'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38706
    keywords = ['patch']
    message_count = 17.0
    messages = ['356065', '356067', '356081', '356082', '356083', '356103', '356104', '356105', '356114', '356120', '356124', '356126', '356179', '356206', '356208', '356211', '357911']
    nosy_count = 12.0
    nosy_names = ['terry.reedy', 'mark.dickinson', 'rbcollins', 'ezio.melotti', 'steven.daprano', 'r.david.murray', 'michael.foord', 'petr.viktorin', 'serhiy.storchaka', 'ammar2', 'brandtbucher', 'mkarotsieris']
    pr_nums = ['17049', '17073']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38706'
    versions = ['Python 3.9']
    

    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

    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.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    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.