From 6b6080ae6c729b7a86a2943cf362de8d5315a453 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 28 Oct 2012 10:12:36 +0100 Subject: [PATCH] remove unused code --- _pytest/config.py | 11 ----------- 1 file changed, 11 deletions(-) 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 -