Lines Matching +full:run +full:- +full:checker
16 # Reimplement _get_dump() for pure-Python implementation of
24 """Run a test multiple times, looking for reference leaks.
48 zdc = None # Run unmodified on platforms without zipimport support
58 # bpo-31217: Integer pool to get a single integer object for the same
60 # block leaks. Fill the pool with values in -1000..1000 which are the most
62 int_pool = {value: value for value in range(-1000, 1000)}
70 # Pre-allocate to ensure that the loop doesn't allocate anything new
102 rc_deltas[i] = get_pooled_int(rc_after - rc_before)
103 alloc_deltas[i] = get_pooled_int(alloc_after - alloc_before)
104 fd_deltas[i] = get_pooled_int(fd_after - fd_before)
115 # Checker for reference counters and memory blocks.
117 # bpo-30776: Try to ignore false positives:
121 # [8, -8, 1]
133 for deltas, item_name, checker in [
140 if checker(deltas):
164 pass # Run unmodified on platforms without zipimport support
193 list(range(-5, 257))