|
1 | 1 | diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
|
2 |
| -index 7110fb889f3..61e4d0f6179 100644 |
| 2 | +index 7110fb889f3..1b55cd156d7 100644 |
3 | 3 | --- a/Lib/test/test_embed.py
|
4 | 4 | +++ b/Lib/test/test_embed.py
|
5 | 5 | @@ -940,6 +940,7 @@ def check_all_configs(self, testname, expected_config=None,
|
6 | 6 | self.check_global_config(configs)
|
7 | 7 | return configs
|
8 | 8 |
|
9 |
| -+ @unittest.skip("segfaults on BOLT instrumented binaries") |
| 9 | ++ @unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries") |
10 | 10 | def test_init_default_config(self):
|
11 | 11 | self.check_all_configs("test_init_initialize_config", api=API_COMPAT)
|
12 | 12 |
|
13 | 13 | @@ -1039,6 +1040,7 @@ def test_init_from_config(self):
|
14 | 14 | self.check_all_configs("test_init_from_config", config, preconfig,
|
15 | 15 | api=API_COMPAT)
|
16 | 16 |
|
17 |
| -+ @unittest.skip("segfaults on BOLT instrumented binaries") |
| 17 | ++ @unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries") |
18 | 18 | def test_init_compat_env(self):
|
19 | 19 | preconfig = {
|
20 | 20 | 'allocator': ALLOCATOR_FOR_CONFIG,
|
21 | 21 | @@ -1074,6 +1076,7 @@ def test_init_compat_env(self):
|
22 | 22 | self.check_all_configs("test_init_compat_env", config, preconfig,
|
23 | 23 | api=API_COMPAT)
|
24 | 24 |
|
25 |
| -+ @unittest.skip("segfaults on BOLT instrumented binaries") |
| 25 | ++ @unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries") |
26 | 26 | def test_init_python_env(self):
|
27 | 27 | preconfig = {
|
28 | 28 | 'allocator': ALLOCATOR_FOR_CONFIG,
|
29 | 29 | @@ -1772,6 +1775,7 @@ def test_init_set_config(self):
|
30 | 30 | self.check_all_configs("test_init_set_config", config,
|
31 | 31 | api=API_ISOLATED)
|
32 | 32 |
|
33 |
| -+ @unittest.skip("segfaults on BOLT instrumented binaries") |
| 33 | ++ @unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries") |
34 | 34 | def test_initconfig_api(self):
|
35 | 35 | preconfig = {
|
36 | 36 | 'configure_locale': True,
|
0 commit comments