Fix a formatting error.
This commit is contained in:
parent
dc90c9108f
commit
b0474398ec
|
@ -75,8 +75,8 @@ def get_scope_package(node, fixturedef):
|
|||
cls = node.Package
|
||||
current = node
|
||||
fixture_package_name = os.path.join(fixturedef.baseid, '__init__.py')
|
||||
while current and (type(current) is not cls or \
|
||||
fixture_package_name != current.nodeid):
|
||||
while current and (type(current) is not cls or
|
||||
fixture_package_name != current.nodeid):
|
||||
current = current.parent
|
||||
if current is None:
|
||||
return node.session
|
||||
|
|
Loading…
Reference in New Issue