@@ -107,7 +107,6 @@ def test_report_timing(self):
107
107
m .y = Var (Any , dense = False )
108
108
xfrm .apply_to (m )
109
109
result = out .getvalue ().strip ()
110
- self .maxDiff = None
111
110
for l , r in zip (result .splitlines (), ref .splitlines ()):
112
111
self .assertRegex (str (l .strip ()), str (r .strip ()))
113
112
finally :
@@ -122,7 +121,6 @@ def test_report_timing(self):
122
121
m .y = Var (Any , dense = False )
123
122
xfrm .apply_to (m )
124
123
result = os .getvalue ().strip ()
125
- self .maxDiff = None
126
124
for l , r in zip (result .splitlines (), ref .splitlines ()):
127
125
self .assertRegex (str (l .strip ()), str (r .strip ()))
128
126
finally :
@@ -135,7 +133,6 @@ def test_report_timing(self):
135
133
m .y = Var (Any , dense = False )
136
134
xfrm .apply_to (m )
137
135
result = os .getvalue ().strip ()
138
- self .maxDiff = None
139
136
for l , r in zip (result .splitlines (), ref .splitlines ()):
140
137
self .assertRegex (str (l .strip ()), str (r .strip ()))
141
138
self .assertEqual (buf .getvalue ().strip (), "" )
@@ -172,7 +169,6 @@ def test_report_timing_context_manager(self):
172
169
xfrm .apply_to (m )
173
170
self .assertEqual (OUT .getvalue (), "" )
174
171
result = OS .getvalue ().strip ()
175
- self .maxDiff = None
176
172
for l , r in zip_longest (result .splitlines (), ref .splitlines ()):
177
173
self .assertRegex (str (l .strip ()), str (r .strip ()))
178
174
# Active reporting is False: the previous log should not have changed
0 commit comments