File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ def _annotate_unwind():
9898 jit_enabled = hasattr (sys , "_jit" ) and sys ._jit .is_enabled ()
9999 jit_backend = _testinternalcapi .get_jit_backend ()
100100 ranges = _testinternalcapi .get_jit_code_ranges () if jit_enabled else []
101- jit_code_ranges = len (ranges )
102101 if jit_enabled and ranges :
103102 print ("JIT ranges:" )
104103 for start , end in ranges :
@@ -113,7 +112,6 @@ def _annotate_unwind():
113112 "python_frames" : python_frames ,
114113 "jit_frames" : jit_frames ,
115114 "other_frames" : other_frames ,
116- "jit_code_ranges" : jit_code_ranges ,
117115 "jit_backend" : jit_backend ,
118116 })
119117
@@ -149,6 +147,7 @@ def _manual_unwind_length(**env):
149147 ) from exc
150148
151149
150+ @support .requires_gil_enabled ("test requires the GIL enabled" )
152151@unittest .skipIf (support .is_wasi , "test not supported on WASI" )
153152class FramePointerUnwindTests (unittest .TestCase ):
154153
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ manual_unwind_from_fp(uintptr_t *frame_pointer)
367367 Py_DECREF (addr_obj );
368368
369369 uintptr_t * next_fp = (uintptr_t * )frame_pointer [0 ];
370- // Stop if the the frame pointer is extremely low.
370+ // Stop if the frame pointer is extremely low.
371371 if ((uintptr_t )next_fp < 0x1000 ) {
372372 break ;
373373 }
You can’t perform that action at this time.
0 commit comments