File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6767# TODO: hash of function. If hash changes, retest all mutants as mutant IDs are not stable
6868
6969
70- status_by_exit_code = {
70+ status_by_exit_code = defaultdict ( lambda : 'suspicious' , {
7171 1 : 'killed' ,
7272 3 : 'killed' , # internal error in pytest means a kill
7373 - 24 : 'killed' ,
8585 255 : 'timeout' ,
8686 - 11 : 'segfault' ,
8787 - 9 : 'segfault' ,
88- }
88+ })
8989
9090emoji_by_status = {
9191 'survived' : '🙁' ,
@@ -1124,7 +1124,7 @@ def read_one_child_exit_status():
11241124 exit_code_by_key [mutant_name ] = m .exit_code_by_key [mutant_name ]
11251125
11261126 for mutant_name , exit_code in sorted (exit_code_by_key .items ()):
1127- print (emoji_by_status .get (status_by_exit_code . get ( exit_code ) , '?' ), mutant_name )
1127+ print (emoji_by_status .get (status_by_exit_code [ exit_code ] , '?' ), mutant_name )
11281128
11291129 print ()
11301130
You can’t perform that action at this time.
0 commit comments