File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -303,17 +303,17 @@ def files_to_test(cls):
303
303
if not item .name .startswith ("bad" )
304
304
]
305
305
306
- tests_to_run_always = {item for item in items if
307
- item .name in cls .run_always_files }
308
-
309
306
# Test limited subset of files unless the 'cpu' resource is specified.
310
307
if not test .support .is_resource_enabled ("cpu" ):
311
- items = set (random .sample (items , 10 ))
312
308
313
- # Make sure that at least tests that heavily use grammar features are
314
- # considered to reduce the change of missing something.
309
+ tests_to_run_always = {item for item in items if
310
+ item .name in cls .run_always_files }
311
+
312
+ items = set (random .sample (items , 10 ))
315
313
316
- items = list (items | tests_to_run_always )
314
+ # Make sure that at least tests that heavily use grammar features are
315
+ # always considered in order to reduce the chance of missing something.
316
+ items = list (items | tests_to_run_always )
317
317
318
318
# bpo-31174: Store the names sample to always test the same files.
319
319
# It prevents false alarms when hunting reference leaks.
You can’t perform that action at this time.
0 commit comments