|
9 | 9 | import types
|
10 | 10 | import textwrap
|
11 | 11 | from test import support
|
12 |
| -from test.support import script_helper, requires_debug_ranges, impl_detail |
| 12 | +from test.support import script_helper, requires_debug_ranges, impl_detail, bytecode_dsl_excluded |
13 | 13 | from test.support.os_helper import FakePath
|
14 | 14 |
|
15 | 15 |
|
@@ -108,6 +108,7 @@ def __getitem__(self, key):
|
108 | 108 | exec('z = a', g, d)
|
109 | 109 | self.assertEqual(d['z'], 12)
|
110 | 110 |
|
| 111 | + @bytecode_dsl_excluded |
111 | 112 | def test_extended_arg(self):
|
112 | 113 | # default: 1000 * 2.5 = 2500 repetitions
|
113 | 114 | repeat = int(sys.getrecursionlimit() * 2.5)
|
@@ -770,6 +771,7 @@ def test_path_like_objects(self):
|
770 | 771 | compile("42", FakePath("test_compile_pathlike"), "single")
|
771 | 772 |
|
772 | 773 | @support.requires_resource('cpu')
|
| 774 | + @bytecode_dsl_excluded |
773 | 775 | def test_stack_overflow(self):
|
774 | 776 | # bpo-31113: Stack overflow when compile a long sequence of
|
775 | 777 | # complex statements.
|
@@ -1019,6 +1021,7 @@ async def test(aseq):
|
1019 | 1021 | code_lines = self.get_code_lines(test.__code__)
|
1020 | 1022 | self.assertEqual(expected_lines, code_lines)
|
1021 | 1023 |
|
| 1024 | + @bytecode_dsl_excluded |
1022 | 1025 | def test_big_dict_literal(self):
|
1023 | 1026 | # The compiler has a flushing point in "compiler_dict" that calls compiles
|
1024 | 1027 | # a portion of the dictionary literal when the loop that iterates over the items
|
|
0 commit comments