File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def setup_class(cls):
1818 cls .do = deepcopy (getattr (cls .cf , "_deprecated_options" ))
1919 cls .ro = deepcopy (getattr (cls .cf , "_registered_options" ))
2020
21- def setup_method (self ):
21+ def setup_method (self , method ):
2222 setattr (self .cf , "_global_config" , {})
2323 setattr (self .cf , "options" , self .cf .DictWrapper (self .cf ._global_config ))
2424 setattr (self .cf , "_deprecated_options" , {})
@@ -30,7 +30,7 @@ def setup_method(self):
3030 # "chained_assignment" option, so re-register it.
3131 self .cf .register_option ("chained_assignment" , "raise" )
3232
33- def teardown_method (self ):
33+ def teardown_method (self , method ):
3434 setattr (self .cf , "_global_config" , self .gc )
3535 setattr (self .cf , "_deprecated_options" , self .do )
3636 setattr (self .cf , "_registered_options" , self .ro )
You can’t perform that action at this time.
0 commit comments