load_tests chaining into discover from non-discover entry point gets top_level_dir wrong

Đang mở
#66,952 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
25/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 reproducing load_tests chaining into discover from a non-discover entry point, then trace how top_level_dir is determined during that path. Done means discovery uses the correct top_level_dir; the issue names no files or tests, so locating the relevant unittest discovery code and regression test is part of the work.

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

Mô tả

tests
BPO 22763
Nosy @rbtcollins, @bitdancer

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-10-30.03:13:07.277>
labels = ['tests']
title = 'load_tests chaining into discover from non-discover entry point gets top_level_dir wrong'
updated_at = <Date 2014-11-01.01:32:48.588>
user = 'https://github.com/rbtcollins'

bugs.python.org fields:

activity = <Date 2014-11-01.01:32:48.588>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2014-10-30.03:13:07.277>
creator = 'rbcollins'
dependencies = []
files = []
hgrepos = []
issue_num = 22763
keywords = []
message_count = 2.0
messages = ['230253', '230268']
nosy_count = 2.0
nosy_names = ['rbcollins', 'r.david.murray']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue22763'
versions = ['Python 3.5']

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.