You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Python test suite has around 166 files and sub-directories where the name is not clearly associated to a test. For example, it's not obvious to me which test uses talos-2019-0758.pem or coding20731.py.
When possible, I propose to move these files into sub-directories related to their test. Example:
create Lib/test/test_module/ sub-directory
move Lib/test/test_module.py to Lib/test/test_module/__init__.py
move good_getattr.py and bad_getattr*.py scripts to Lib/test/test_module/
Well, I created PR #108293 for this specific example.
Feature or enhancement
Proposal:
The Python test suite has around 166 files and sub-directories where the name is not clearly associated to a test. For example, it's not obvious to me which test uses
talos-2019-0758.pemorcoding20731.py.When possible, I propose to move these files into sub-directories related to their test. Example:
Lib/test/test_module/sub-directoryLib/test/test_module.pytoLib/test/test_module/__init__.pygood_getattr.pyandbad_getattr*.pyscripts toLib/test/test_module/Well, I created PR #108293 for this specific example.
Linked PRs
ann_module*.pyfiles totypinganndata/folder #108354Lib/test/tokenizedata#109265Lib/test/tokenizedatatoTESTSUBDIRS#109314test_futureinto its own subdir #109368Lib/test/certdata/#109489Lib/test/mathdata/#109512badsyntax_pep3120.py#109513test_inspect/#109607ann_module*.pyfiles totypinganndata/folder (GH-108354) #109672ann_module*.pyfiles totypinganndata/folder (#108354) #109673test_futureinto its own test_future_stmt subdir (#109368) #109679test_futureinto its own test_future_stmt subdir (#109368) #109680Lib/test/certdata/(GH-109489) #109682Lib/test/certdata/(GH-109489) #109683badsyntax_pep3120.py(GH-109513) #109724Lib/test/certdata/(GH-109489) (GH-109682) #110646test_inspect/(GH-109607) #110732test_inspect/(GH-109607) #111543zipandtararchives toLib/test/archivetestdata#111549typingrelated files toLib/test/typinganndata#111825Lib/test/configparserdata/#111879Lib/test/test_module#111880Lib/test/configparserdata/(gh-111879) #111882Lib/test/configparserdata/(gh-111879) #111883Lib/test/test_module(GH-111880) #111891Lib/test/test_module(GH-111880) #111892Lib/test/configdata#111899Lib/test/configdata(GH-111899) #111945Lib/test/configdata(GH-111899) #111946double_consttotest_importwhere it belongs #112108Lib/test/test_doctest/#112109imp_dummytest file #112110imp_dummytest file (GH-112110) #112114double_consttotest_importwhere it belongs (GH-112108) #112976double_consttotest_importwhere it belongs (GH-112108) #112977Lib/test/test_doctest/(GH-112109) #114254Lib/test/test_doctest/(GH-112109) #114313.whltest files toLib/test/whldata/#114343test_xml#114344Lib/test/reperf.py#114356smtpdtotest.support#114368Lib/test/shadowed_super.py#114372smtpdtotest.support(GH-114368) #114427Lib/test/shadowed_super.py(GH-114372) #114433.whltest files toLib/test/wheeldata/(GH-114343) #114488pydocrelated files totest_pydoc#114506Lib/test/sortperf.pytoTools/scripts#114687pydocrelated files totest_pydoc(GH-114506) #115501pydocrelated files totest_pydoc(GH-114506) #115502Lib/test/sortperf.pytoTools/scripts(GH-114687) #115625Lib/test/sortperf.pytoTools/scripts(GH-114687) #115626badsyntax_pep3120.py(GH-109513) #130540