remove unnecessary of in the code figuring the fixture names
This commit is contained in:
parent
a92a51b01b
commit
02315c0489
|
@ -985,7 +985,6 @@ class FixtureManager(object):
|
|||
argnames = ()
|
||||
usefixtures = flatten(uf_mark.args for uf_mark in node.find_markers("usefixtures"))
|
||||
initialnames = argnames
|
||||
if usefixtures is not None:
|
||||
initialnames = tuple(usefixtures) + initialnames
|
||||
fm = node.session._fixturemanager
|
||||
names_closure, arg2fixturedefs = fm.getfixtureclosure(initialnames,
|
||||
|
|
Loading…
Reference in New Issue