@@ -67,15 +67,20 @@ def clear_import_graph_caches() -> None:
6767 "int" : {
6868 "lib" : [],
6969 "hard_deps" : ["_pylong.py" ],
70+ "test" : [
71+ "test/test_int.py" ,
72+ "test/test_long.py" ,
73+ ],
7074 },
7175 "exception" : {
7276 "lib" : [],
7377 "test" : [
7478 "test/test_exceptions.py" ,
79+ "test/test_baseexception.py" ,
80+ "test/test_except_star.py" ,
7581 "test/test_exception_group.py" ,
7682 "test/test_exception_hierarchy.py" ,
7783 "test/test_exception_variations.py" ,
78- "test/test_except_star.py" ,
7984 ],
8085 },
8186 "dict" : {
@@ -91,6 +96,7 @@ def clear_import_graph_caches() -> None:
9196 "lib" : [],
9297 "test" : [
9398 "test/test_list.py" ,
99+ "test/test_listcomps.py" ,
94100 "test/test_userlist.py" ,
95101 ],
96102 },
@@ -109,11 +115,17 @@ def clear_import_graph_caches() -> None:
109115 "test/test_codecmaps_jp.py" ,
110116 "test/test_codecmaps_kr.py" ,
111117 "test/test_codecmaps_tw.py" ,
118+ "test/test_charmapcodec.py" ,
119+ "test/test_multibytecodec.py" ,
112120 ],
113121 },
114122 # Non-pattern hard_deps (can't be auto-detected)
115123 "ast" : {
116124 "hard_deps" : ["_ast_unparse.py" ],
125+ "test" : [
126+ "test/test_ast.py" ,
127+ "test/test_unparse.py" ,
128+ ],
117129 },
118130 # Data directories
119131 "pydoc" : {
@@ -126,6 +138,10 @@ def clear_import_graph_caches() -> None:
126138 "support" : {
127139 "lib" : ["test/support" ],
128140 "data" : ["test/wheeldata" ],
141+ "test" : [
142+ "test/test_support.py" ,
143+ "test/test_script_helper.py" ,
144+ ],
129145 },
130146 # test_htmlparser tests html.parser
131147 "html" : {
@@ -135,8 +151,10 @@ def clear_import_graph_caches() -> None:
135151 "test" : [
136152 "test/test_xml_etree.py" ,
137153 "test/test_xml_etree_c.py" ,
154+ "test/test_minidom.py" ,
138155 "test/test_pulldom.py" ,
139156 "test/test_pyexpat.py" ,
157+ "test/test_sax.py" ,
140158 ],
141159 },
142160 "multiprocessing" : {
@@ -146,6 +164,181 @@ def clear_import_graph_caches() -> None:
146164 "test/test_multiprocessing_spawn" ,
147165 ],
148166 },
167+ "urllib" : {
168+ "test" : [
169+ "test/test_urllib.py" ,
170+ "test/test_urllib2.py" ,
171+ "test/test_urllib2_localnet.py" ,
172+ "test/test_urllib2net.py" ,
173+ "test/test_urllibnet.py" ,
174+ "test/test_urlparse.py" ,
175+ "test/test_urllib_response.py" ,
176+ "test/test_robotparser.py" ,
177+ ],
178+ },
179+ "collections" : {
180+ "test" : [
181+ "test/test_collections.py" ,
182+ "test/test_deque.py" ,
183+ "test/test_defaultdict.py" ,
184+ "test/test_ordered_dict.py" ,
185+ ],
186+ },
187+ "http" : {
188+ "test" : [
189+ "test/test_httplib.py" ,
190+ "test/test_http_cookiejar.py" ,
191+ "test/test_http_cookies.py" ,
192+ "test/test_httpservers.py" ,
193+ ],
194+ },
195+ "unicode" : {
196+ "lib" : [],
197+ "test" : [
198+ "test/test_unicode_file.py" ,
199+ "test/test_unicode_file_functions.py" ,
200+ "test/test_unicode_identifiers.py" ,
201+ "test/test_unicodedata.py" ,
202+ ],
203+ },
204+ "typing" : {
205+ "test" : [
206+ "test/test_typing.py" ,
207+ "test/test_type_aliases.py" ,
208+ "test/test_type_annotations.py" ,
209+ "test/test_type_params.py" ,
210+ "test/test_genericalias.py" ,
211+ ],
212+ },
213+ "unpack" : {
214+ "lib" : [],
215+ "test" : [
216+ "test/test_unpack.py" ,
217+ "test/test_unpack_ex.py" ,
218+ ],
219+ },
220+ "zipimport" : {
221+ "test" : [
222+ "test/test_zipimport.py" ,
223+ "test/test_zipimport_support.py" ,
224+ ],
225+ },
226+ "time" : {
227+ "lib" : [],
228+ "test" : [
229+ "test/test_time.py" ,
230+ "test/test_strftime.py" ,
231+ ],
232+ },
233+ "sys" : {
234+ "lib" : [],
235+ "test" : [
236+ "test/test_sys.py" ,
237+ "test/test_syslog.py" ,
238+ "test/test_sys_setprofile.py" ,
239+ "test/test_sys_settrace.py" ,
240+ ],
241+ },
242+ "str" : {
243+ "lib" : [],
244+ "test" : [
245+ "test/test_str.py" ,
246+ "test/test_fstring.py" ,
247+ "test/test_string_literals.py" ,
248+ ],
249+ },
250+ "thread" : {
251+ "lib" : [],
252+ "test" : [
253+ "test/test_thread.py" ,
254+ "test/test_thread_local_bytecode.py" ,
255+ "test/test_threadsignals.py" ,
256+ ],
257+ },
258+ "threading" : {
259+ "test" : [
260+ "test/test_threading.py" ,
261+ "test/test_threadedtempfile.py" ,
262+ "test/test_threading_local.py" ,
263+ ],
264+ },
265+ "class" : {
266+ "lib" : [],
267+ "test" : [
268+ "test/test_class.py" ,
269+ "test/test_genericclass.py" ,
270+ "test/test_subclassinit.py" ,
271+ ],
272+ },
273+ "generator" : {
274+ "lib" : [],
275+ "test" : [
276+ "test/test_generators.py" ,
277+ "test/test_genexps.py" ,
278+ "test/test_generator_stop.py" ,
279+ "test/test_yield_from.py" ,
280+ ],
281+ },
282+ "descr" : {
283+ "lib" : [],
284+ "test" : [
285+ "test/test_descr.py" ,
286+ "test/test_descrtut.py" ,
287+ ],
288+ },
289+ "contextlib" : {
290+ "test" : [
291+ "test/test_contextlib.py" ,
292+ "test/test_contextlib_async.py" ,
293+ ],
294+ },
295+ "io" : {
296+ "test" : [
297+ "test/test_io.py" ,
298+ "test/test_bufio.py" ,
299+ "test/test_fileio.py" ,
300+ "test/test_memoryio.py" ,
301+ ],
302+ },
303+ "dbm" : {
304+ "test" : [
305+ "test/test_dbm.py" ,
306+ "test/test_dbm_gnu.py" ,
307+ "test/test_dbm_ndbm.py" ,
308+ ],
309+ },
310+ "datetime" : {
311+ "test" : [
312+ "test/test_datetime.py" ,
313+ "test/test_strptime.py" ,
314+ ],
315+ },
316+ "file" : {
317+ "lib" : [],
318+ "test" : [
319+ "test/test_file.py" ,
320+ "test/test_largefile.py" ,
321+ ],
322+ },
323+ "fcntl" : {
324+ "lib" : [],
325+ "test" : [
326+ "test/test_fcntl.py" ,
327+ "test/test_ioctl.py" ,
328+ ],
329+ },
330+ "xmlrpc" : {
331+ "test" : [
332+ "test/test_xmlrpc.py" ,
333+ "test/test_docxmlrpc.py" ,
334+ ],
335+ },
336+ "ctypes" : {
337+ "test" : [
338+ "test/test_ctypes" ,
339+ "test/test_stable_abi_ctypes.py" ,
340+ ],
341+ },
149342}
150343
151344
0 commit comments