We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aacbbc8 commit 03a28dcCopy full SHA for 03a28dc
src/_pytest/python.py
@@ -789,12 +789,13 @@ def hasnew(obj):
789
class CallSpec2:
790
def __init__(self, metafunc: "Metafunc") -> None:
791
self.metafunc = metafunc
792
- self.funcargs = {}
793
- self._idlist = []
794
- self.params = {}
795
- self._arg2scopenum = {} # used for sorting parametrized resources
+ self.funcargs = {} # type: Dict[str, object]
+ self._idlist = [] # type: List[str]
+ self.params = {} # type: Dict[str, object]
+ # Used for sorting parametrized resources.
796
+ self._arg2scopenum = {} # type: Dict[str, int]
797
self.marks = [] # type: List[Mark]
- self.indices = {}
798
+ self.indices = {} # type: Dict[str, int]
799
800
def copy(self):
801
cs = CallSpec2(self.metafunc)
0 commit comments