From 4b9dbd3920e1aff1e70b221406393f4eabd76056 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 5 Dec 2013 14:40:50 +0100 Subject: [PATCH] remove unused line --- _pytest/python.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/_pytest/python.py b/_pytest/python.py index 6a024ea83..abf8bef0d 100644 --- a/_pytest/python.py +++ b/_pytest/python.py @@ -1081,8 +1081,6 @@ class FixtureRequest(FuncargnamesCompatAttr): def __init__(self, pyfuncitem): self._pyfuncitem = pyfuncitem - if hasattr(pyfuncitem, '_requestparam'): - self.param = pyfuncitem._requestparam #: fixture for which this request is being performed self.fixturename = None #: Scope string, one of "function", "cls", "module", "session"