Skip to content

Commit b7ae7a6

Browse files
committed
Remove callspec related block of code
It seems this is no longer required now that we don't support yield tests anymore. The param attribute was added here: https://github.com/pytest-dev/pytest/blob/91b6f2bda8668e0f74190ed223a9eec01d09a0a7/_pytest/python.py#L888-L891
1 parent 148e6a3 commit b7ae7a6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/_pytest/python.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,11 +1414,6 @@ def __init__(
14141414

14151415
def _initrequest(self):
14161416
self.funcargs = {}
1417-
if hasattr(self, "callspec"):
1418-
callspec = self.callspec
1419-
assert not callspec.funcargs
1420-
if hasattr(callspec, "param"):
1421-
self.param = callspec.param
14221417
self._request = fixtures.FixtureRequest(self)
14231418

14241419
@property

0 commit comments

Comments
 (0)