Hello Team,

To begin with, I would like to say "Thank You" for great tools.

I am writing here to ask question about _pytest/mark.MarkMapping behavior
which was used in one plug-in. I noted that API is changed a little what
produced issue like this:
https://github.com/reportportal/agent-python-pytest/issues/37

The fix is simple at first look: just replace _marks to own_mark_names. But
I wonder about inconvenient behavior of

> def __getitem__(self, name):
>     return name in self.own_mark_names

I would expect to call list(MarkMapping) which will return list of mark
names, but instead this returns infinite iterator which produced False (or
True in some cases).

What is the reason for such behavior?


Thanks,
Yury
_______________________________________________
pytest-dev mailing list
pytest-dev@python.org
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to