remove unnecessary newline
This commit is contained in:
parent
992e7f7771
commit
e804e419bc
|
@ -282,7 +282,6 @@ class PytestPluginManager(PluginManager):
|
||||||
known_marks = {m.name for m in getattr(method, "pytestmark", [])}
|
known_marks = {m.name for m in getattr(method, "pytestmark", [])}
|
||||||
|
|
||||||
for name in ("tryfirst", "trylast", "optionalhook", "hookwrapper"):
|
for name in ("tryfirst", "trylast", "optionalhook", "hookwrapper"):
|
||||||
|
|
||||||
opts.setdefault(name, hasattr(method, name) or name in known_marks)
|
opts.setdefault(name, hasattr(method, name) or name in known_marks)
|
||||||
return opts
|
return opts
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue