@@ -398,7 +398,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
398
398
'module_search_paths' : GET_DEFAULT_CONFIG ,
399
399
'module_search_paths_set' : 1 ,
400
400
'platlibdir' : sys .platlibdir ,
401
- 'stdlib_dir' : GET_DEFAULT_CONFIG ,
402
401
403
402
'site_import' : 1 ,
404
403
'bytes_warning' : 0 ,
@@ -427,7 +426,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
427
426
'pathconfig_warnings' : 1 ,
428
427
'_init_main' : 1 ,
429
428
'_isolated_interpreter' : 0 ,
430
- 'use_frozen_modules' : True ,
429
+ 'use_frozen_modules' : False ,
431
430
}
432
431
if MS_WINDOWS :
433
432
CONFIG_COMPAT .update ({
@@ -508,7 +507,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
508
507
'exec_prefix' ,
509
508
'program_name' ,
510
509
'home' ,
511
- 'stdlib_dir' ,
512
510
# program_full_path and module_search_path are copied indirectly from
513
511
# the core configuration in check_path_config().
514
512
]
@@ -1136,9 +1134,6 @@ def test_init_setpath(self):
1136
1134
'base_prefix' : '' ,
1137
1135
'exec_prefix' : '' ,
1138
1136
'base_exec_prefix' : '' ,
1139
- # The current getpath.c doesn't determine the stdlib dir
1140
- # in this case.
1141
- 'stdlib_dir' : '' ,
1142
1137
}
1143
1138
self .default_program_name (config )
1144
1139
env = {'TESTPATH' : os .path .pathsep .join (paths )}
@@ -1159,9 +1154,6 @@ def test_init_setpath_config(self):
1159
1154
'base_prefix' : '' ,
1160
1155
'exec_prefix' : '' ,
1161
1156
'base_exec_prefix' : '' ,
1162
- # The current getpath.c doesn't determine the stdlib dir
1163
- # in this case.
1164
- 'stdlib_dir' : '' ,
1165
1157
# overriden by PyConfig
1166
1158
'program_name' : 'conf_program_name' ,
1167
1159
'base_executable' : 'conf_executable' ,
@@ -1251,7 +1243,6 @@ def test_init_setpythonhome(self):
1251
1243
'exec_prefix' : exec_prefix ,
1252
1244
'base_exec_prefix' : exec_prefix ,
1253
1245
'pythonpath_env' : paths_str ,
1254
- 'stdlib_dir' : home ,
1255
1246
}
1256
1247
self .default_program_name (config )
1257
1248
env = {'TESTHOME' : home ,
@@ -1291,9 +1282,6 @@ def test_init_pybuilddir(self):
1291
1282
'base_executable' : executable ,
1292
1283
'executable' : executable ,
1293
1284
'module_search_paths' : module_search_paths ,
1294
- # The current getpath.c doesn't determine the stdlib dir
1295
- # in this case.
1296
- 'stdlib_dir' : None ,
1297
1285
}
1298
1286
env = self .copy_paths_by_env (config )
1299
1287
self .check_all_configs ("test_init_compat_config" , config ,
@@ -1343,9 +1331,6 @@ def test_init_pyvenv_cfg(self):
1343
1331
'base_executable' : executable ,
1344
1332
'executable' : executable ,
1345
1333
'module_search_paths' : paths ,
1346
- # The current getpath.c doesn't determine the stdlib dir
1347
- # in this case.
1348
- 'stdlib_dir' : None ,
1349
1334
}
1350
1335
path_config = {}
1351
1336
if MS_WINDOWS :
0 commit comments