Skip to content

Commit c91fbb3

Browse files
committed
Remove lookup in parents for now/here
1 parent be1989c commit c91fbb3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pytest_django/plugin.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ def find_django_path(args):
126126
for arg in args:
127127
if is_django_project(arg):
128128
return arg
129-
for parent in arg.parents:
130-
if is_django_project(parent):
131-
return parent
132129
return None
133130

134131
project_dir = find_django_path(args)

0 commit comments

Comments
 (0)