File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ def test_varargs_kwargs_as_string(self) -> None:
117
117
@pytest .mark .skipif (PY314_PLUS , reason = "return in finally is now a syntax error" )
118
118
def test_module_as_string_pre_3_14 (self ) -> None :
119
119
"""Check as_string on a whole module prepared to be returned identically for py < 3.14."""
120
+ self .maxDiff = None
120
121
module = resources .build_file ("data/module.py" , "data.module" )
121
122
with open (resources .find ("data/module.py" ), encoding = "utf-8" ) as fobj :
122
123
self .assertMultiLineEqual (module .as_string (), fobj .read ())
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def method(self):
61
61
finally :
62
62
# return in finally was previousely tested here but became a syntax error
63
63
# in 3.14 and this file is used in 188/1464 tests
64
- print ( local )
64
+ a = local
65
65
66
66
def static_method ():
67
67
"""static method test"""
You can’t perform that action at this time.
0 commit comments