Pytest fails on marking of input parameter if it is a method of a class #3048
Labels
topic: parametrize
related to @pytest.mark.parametrize
type: question
general question, might be closed after 2 weeks of inactivity
Hello!
Python 2.7.10
Windows 10 1703, pytest 3.3.1
Pip list: https://pastebin.com/WKpwf3eW
Small bug. When I'm trying to skip method passed as parameter to a test funny things are going on.
OK here. Output:
Everything is fine here
Both tests were run. Output:
Fails. Output:
Works fine with:
lambda a,b : TestClass().foo(a,b)
Thanks in advance =)
The text was updated successfully, but these errors were encountered: