From b0474398ec13057675cbf9ceace3826bf4e32db9 Mon Sep 17 00:00:00 2001 From: turturica Date: Fri, 20 Apr 2018 18:18:44 -0700 Subject: [PATCH] Fix a formatting error. --- _pytest/fixtures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_pytest/fixtures.py b/_pytest/fixtures.py index e9d032f9211..b3e46355e79 100644 --- a/_pytest/fixtures.py +++ b/_pytest/fixtures.py @@ -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