From 57fcd3f57e824249b8786df5e75748673f3273ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Fri, 8 Dec 2017 20:06:22 +0100 Subject: [PATCH] remove corpse code comments --- _pytest/pytester.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/_pytest/pytester.py b/_pytest/pytester.py index 70436b246..6e37d8b31 100644 --- a/_pytest/pytester.py +++ b/_pytest/pytester.py @@ -27,7 +27,6 @@ PYTEST_FULLPATH = os.path.abspath(pytest.__file__.rstrip("oc")).replace("$py.cla def pytest_addoption(parser): - # group = parser.getgroup("pytester", "pytester (self-tests) options") parser.addoption('--lsof', action="store_true", dest="lsof", default=False, help=("run FD checks if lsof is available")) @@ -977,12 +976,6 @@ class Testdir: p = py.path.local.make_numbered_dir(prefix="runpytest-", keep=None, rootdir=self.tmpdir) args = ('--basetemp=%s' % p, ) + args - # for x in args: - # if '--confcutdir' in str(x): - # break - # else: - # pass - # args = ('--confcutdir=.',) + args plugins = [x for x in self.plugins if isinstance(x, str)] if plugins: args = ('-p', plugins[0]) + args