Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
marker transfer incompatible with inheritance #535
when a method is inherited, markers will trasnfer from the subclass to the superclass
will skip in TestCClass (given by tradej on irc)
im not yet sure if there is a clear backward-compatible way to solve this
This is particularly painful with the pytest.mark.usefixtures decorator when sibling classes require mutually exclusive dependencies.
After a decent adventure into the source I've found the guilty method to be
The test function which is actually passed to self.makeitem(name, obj) is that from the parent class definition (i.e.
This prevents modifcation of this method to simply call makeitem on the instance method...