|
11 | 11 | importmath |
12 | 12 | fromcollectionsimportCounter |
13 | 13 |
|
| 14 | +fromhypothesis._settingsimportPhase |
14 | 15 | fromhypothesis.utils.dynamicvariablesimportDynamicVariable |
15 | 16 |
|
16 | 17 | collector=DynamicVariable(None) |
@@ -73,7 +74,7 @@ def describe_statistics(stats_dict): |
73 | 74 | """ |
74 | 75 | lines= [stats_dict["nodeid"]+":\n"]if"nodeid"instats_dictelse [] |
75 | 76 | prev_failures=0 |
76 | | -forphasein["reuse","generate","shrink"]: |
| 77 | +forphasein(p.nameforpinlist(Phase)[1:]): |
77 | 78 | d=stats_dict.get(phase+"-phase", {}) |
78 | 79 | # Basic information we report for every phase |
79 | 80 | cases=d.get("test-cases", []) |
|