diff --git a/_pytest/config.py b/_pytest/config.py index 29b4e1eaa..7bdc03a60 100644 --- a/_pytest/config.py +++ b/_pytest/config.py @@ -477,14 +477,3 @@ def getcfg(args, inibasenames): return iniconfig['pytest'] return {} -def findupwards(current, basename): - current = py.path.local(current) - while 1: - p = current.join(basename) - if p.check(): - return p - p = current.dirpath() - if p == current: - return - current = p -