File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -144,13 +144,20 @@ def prep_environment(self, env):
144
144
"""
145
145
pass
146
146
147
+ @contextlib .contextmanager
147
148
def tweak_coverage_settings (
148
149
self , settings : Iterable [Tuple [str , Any ]]
149
150
) -> Iterator [None ]:
150
151
"""Tweak the coverage settings.
151
152
152
153
NOTE: This is not properly factored, and is only used by ToxProject now!!!
153
154
"""
155
+ yield
156
+
157
+ def pre_check (self , env ):
158
+ pass
159
+
160
+ def post_check (self , env ):
154
161
pass
155
162
156
163
def run_no_coverage (self , env ):
Original file line number Diff line number Diff line change 25
25
)
26
26
27
27
28
- if 1 :
28
+ if 0 :
29
29
run_experiment (
30
30
py_versions = [
31
31
Python (3 , 9 ),
52
52
(".2 dynctx cost" , "702.dynctx" , "702" ),
53
53
],
54
54
)
55
+
56
+
57
+ if 1 :
58
+ # Compare 3.11 vs 3.12
59
+ run_experiment (
60
+ py_versions = [
61
+ Python (3 , 11 ),
62
+ Python (3 , 12 ),
63
+ ],
64
+ cov_versions = [
65
+ Coverage ("732" , "coverage==7.3.2" ),
66
+ ],
67
+ projects = [
68
+ ProjectDateutil (),
69
+ ],
70
+ rows = ["cov" , "proj" ],
71
+ column = "pyver" ,
72
+ ratios = [
73
+ ("3.12 vs 3.11" , "python3.12" , "python3.11" ),
74
+ ],
75
+ )
You can’t perform that action at this time.
0 commit comments