Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
--deselect does not work with tests inside classes #4127
In #3201, the test case only seems to test
A failing test would be a good start.
In this regard I've also noticed that sometimes (with failures?) you get
btw: it would be nice if globs could be used here (i.e. not just
I think that is an acceptable workaround for now, but depends on some fairly arcane tribal knowledge / black magic about the extra
If we search for
I believe we should extract that to a function, change the duplicated places to use that function, including where @blueyed pointed out previously:
It is kind of hackish, but it is simple to do and should improve the current state of things.
referenced this issue
Nov 9, 2018
It is coming via
And gets also removed/skipped here:
If replacing/normalizing it, couldn't that be done in
But I wonder why the
At least the following gets not collected anyway:
class TestFoo(): @classmethod def test_foo(cls): pass
I've given it a quick shot at #4357.