File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 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:
117117 @pytest .mark .skipif (PY314_PLUS , reason = "return in finally is now a syntax error" )
118118 def test_module_as_string_pre_3_14 (self ) -> None :
119119 """Check as_string on a whole module prepared to be returned identically for py < 3.14."""
120+ self .maxDiff = None
120121 module = resources .build_file ("data/module.py" , "data.module" )
121122 with open (resources .find ("data/module.py" ), encoding = "utf-8" ) as fobj :
122123 self .assertMultiLineEqual (module .as_string (), fobj .read ())
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def method(self):
6161 finally :
6262 # return in finally was previousely tested here but became a syntax error
6363 # in 3.14 and this file is used in 188/1464 tests
64- print ( local )
64+ a = local
6565
6666 def static_method ():
6767 """static method test"""
You can’t perform that action at this time.
0 commit comments