mark/structures: use class-based NamedTuple syntax
mark/structures: use class-based NamedTuple syntax

Should hopefully work now in Python>=3.7.

pytest-dev/pytest,markshao/pytest,RonnyPfannschmidt/pytest,Akasurde/pytest