Skip Instances with --collect-only

This commit is contained in:
Daniel Hahler
2018-11-09 11:32:44 +01:00
parent 87254ca593
commit f551cb9677
3 changed files with 5 additions and 5 deletions

View File

@@ -1408,9 +1408,7 @@ def test_customize_through_attributes(testdir):
"""
)
result = testdir.runpytest("--collect-only")
result.stdout.fnmatch_lines(
["*MyClass*", "*MyInstance*", "*MyFunction*test_hello*"]
)
result.stdout.fnmatch_lines(["*MyClass*", "*MyFunction*test_hello*"])
def test_unorderable_types(testdir):