Remove unused function CallSpec2.setall (#5716)

Remove unused function CallSpec2.setall
This commit is contained in:
Bruno Oliveira 2019-08-09 12:35:07 -03:00 committed by GitHub
commit ec76f70d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -873,18 +873,6 @@ class CallSpec2:
self._idlist.append(id) self._idlist.append(id)
self.marks.extend(normalize_mark_list(marks)) self.marks.extend(normalize_mark_list(marks))
def setall(self, funcargs, id, param):
for x in funcargs:
self._checkargnotcontained(x)
self.funcargs.update(funcargs)
if id is not NOTSET:
self._idlist.append(id)
if param is not NOTSET:
assert self._globalparam is NOTSET
self._globalparam = param
for arg in funcargs:
self._arg2scopenum[arg] = fixtures.scopenum_function
class Metafunc(fixtures.FuncargnamesCompatAttr): class Metafunc(fixtures.FuncargnamesCompatAttr):
""" """