Improve type-checking in OutcomeException

Fix #5578
This commit is contained in:
Bruno Oliveira
2019-07-08 20:33:43 -03:00
parent 2180d9ef6d
commit 9db1823707
4 changed files with 28 additions and 5 deletions

View File

@@ -1066,7 +1066,8 @@ def test_module_level_skip_error(testdir):
testdir.makepyfile(
"""
import pytest
@pytest.skip
pytest.skip("skip_module_level")
def test_func():
assert True
"""