@@ -227,6 +227,7 @@ def clear_import_graph_caches() -> None:
227227 "test" : [
228228 "test_int.py" ,
229229 "test_long.py" ,
230+ "test_int_literal.py" ,
230231 ],
231232 },
232233 "exception" : {
@@ -276,12 +277,21 @@ def clear_import_graph_caches() -> None:
276277 },
277278 "pickle" : {
278279 "hard_deps" : ["_compat_pickle.py" ],
280+ "test" : [
281+ "test_pickle.py" ,
282+ "test_picklebuffer.py" ,
283+ "test_pickletools.py" ,
284+ ],
279285 },
280286 "re" : {
281287 "hard_deps" : ["sre_compile.py" , "sre_constants.py" , "sre_parse.py" ],
282288 },
283289 "weakref" : {
284290 "hard_deps" : ["_weakrefset.py" ],
291+ "test" : [
292+ "test_weakref.py" ,
293+ "test_weakset.py" ,
294+ ],
285295 },
286296 "codecs" : {
287297 "test" : [
@@ -308,6 +318,7 @@ def clear_import_graph_caches() -> None:
308318 "test" : [
309319 "test_ast.py" ,
310320 "test_unparse.py" ,
321+ "test_type_comments.py" ,
311322 ],
312323 },
313324 # Data directories
@@ -317,6 +328,22 @@ def clear_import_graph_caches() -> None:
317328 "turtle" : {
318329 "hard_deps" : ["turtledemo" ],
319330 },
331+ "sysconfig" : {
332+ "hard_deps" : ["_aix_support.py" , "_osx_support.py" ],
333+ "test" : [
334+ "test_sysconfig.py" ,
335+ "test__osx_support.py" ,
336+ ],
337+ },
338+ "tkinter" : {
339+ "test" : [
340+ "test_tkinter" ,
341+ "test_ttk" ,
342+ "test_ttk_textonly.py" ,
343+ "test_tcl.py" ,
344+ "test_idle" ,
345+ ],
346+ },
320347 # Test support library (like regrtest)
321348 "support" : {
322349 "lib" : ["test/support" ],
@@ -339,13 +366,16 @@ def clear_import_graph_caches() -> None:
339366 "test_pulldom.py" ,
340367 "test_pyexpat.py" ,
341368 "test_sax.py" ,
369+ "test_xml_dom_minicompat.py" ,
370+ "test_xml_dom_xmlbuilder.py" ,
342371 ],
343372 },
344373 "multiprocessing" : {
345374 "test" : [
346375 "test_multiprocessing_fork" ,
347376 "test_multiprocessing_forkserver" ,
348377 "test_multiprocessing_spawn" ,
378+ "test_multiprocessing_main_handling.py" ,
349379 ],
350380 },
351381 "urllib" : {
@@ -361,6 +391,7 @@ def clear_import_graph_caches() -> None:
361391 ],
362392 },
363393 "collections" : {
394+ "hard_deps" : ["_collections_abc.py" ],
364395 "test" : [
365396 "test_collections.py" ,
366397 "test_deque.py" ,
@@ -489,8 +520,10 @@ def clear_import_graph_caches() -> None:
489520 "dbm" : {
490521 "test" : [
491522 "test_dbm.py" ,
523+ "test_dbm_dumb.py" ,
492524 "test_dbm_gnu.py" ,
493525 "test_dbm_ndbm.py" ,
526+ "test_dbm_sqlite3.py" ,
494527 ],
495528 },
496529 "datetime" : {
@@ -500,11 +533,6 @@ def clear_import_graph_caches() -> None:
500533 "test_strptime.py" ,
501534 ],
502535 },
503- "concurrent" : {
504- "test" : [
505- "test_concurrent_futures" ,
506- ],
507- },
508536 "locale" : {
509537 "test" : [
510538 "test_locale.py" ,
@@ -550,6 +578,75 @@ def clear_import_graph_caches() -> None:
550578 "test_stable_abi_ctypes.py" ,
551579 ],
552580 },
581+ # Grouped tests for modules without custom lib paths
582+ "compile" : {
583+ "lib" : [],
584+ "test" : [
585+ "test_compile.py" ,
586+ "test_compiler_assemble.py" ,
587+ "test_compiler_codegen.py" ,
588+ "test_peepholer.py" ,
589+ ],
590+ },
591+ "math" : {
592+ "lib" : [],
593+ "test" : [
594+ "test_math.py" ,
595+ "test_math_property.py" ,
596+ ],
597+ },
598+ "float" : {
599+ "lib" : [],
600+ "test" : [
601+ "test_float.py" ,
602+ "test_strtod.py" ,
603+ ],
604+ },
605+ "zipfile" : {
606+ "test" : [
607+ "test_zipfile.py" ,
608+ "test_zipfile64.py" ,
609+ ],
610+ },
611+ "smtplib" : {
612+ "test" : [
613+ "test_smtplib.py" ,
614+ "test_smtpnet.py" ,
615+ ],
616+ },
617+ "profile" : {
618+ "test" : [
619+ "test_profile.py" ,
620+ "test_cprofile.py" ,
621+ ],
622+ },
623+ "string" : {
624+ "test" : [
625+ "test_string.py" ,
626+ "test_userstring.py" ,
627+ ],
628+ },
629+ "os" : {
630+ "test" : [
631+ "test_os.py" ,
632+ "test_popen.py" ,
633+ ],
634+ },
635+ "pyrepl" : {
636+ "test" : [
637+ "test_pyrepl" ,
638+ "test_repl.py" ,
639+ ],
640+ },
641+ "concurrent" : {
642+ "test" : [
643+ "test_concurrent_futures" ,
644+ "test_interpreters" ,
645+ "test__interpreters.py" ,
646+ "test__interpchannels.py" ,
647+ "test_crossinterp.py" ,
648+ ],
649+ },
553650}
554651
555652
0 commit comments