Skip to content

Commit

Permalink
Fix a formatting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
turturica authored and turturica committed Apr 21, 2018
1 parent dc90c91 commit b047439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _pytest/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b047439

Please sign in to comment.