fix bug introduced with last checkin
This commit is contained in:
parent
a7c6688bd6
commit
a5e7e441d3
|
@ -1469,7 +1469,8 @@ class SetupCall:
|
|||
self.funcargmanager = funcargmanager
|
||||
self.baseid = baseid
|
||||
self.func = func
|
||||
self.funcargnames = getfuncargnames(func, startindex=int(unittest))
|
||||
startindex = unittest and 1 or None
|
||||
self.funcargnames = getfuncargnames(func, startindex=startindex)
|
||||
self.scope = scope
|
||||
self.scopenum = scopes.index(scope)
|
||||
self.active = False
|
||||
|
|
Loading…
Reference in New Issue