https://github.com/pytest-dev/pytest/issues/12186 Please note it is currently impossible to uninstall typeguard because package/pkg transitionally depends on it. The dependency chain is: package/pkg -> cherrypy -> jaraco-collections -> jaraco-text -> inflect -> typeguard --- pytest-ignore-flaky-2.2.0/tests/test_functional.py.orig +++ pytest-ignore-flaky-2.2.0/tests/test_functional.py @@ -1,3 +1,5 @@ +import pytest + pytest_plugins = ('pytester',) @@ -50,6 +52,7 @@ """ +@pytest.mark.skip(reason="fails with typeguard installed") def test_success_flaky(testdir, capsys): test = testdir.makepyfile(TEST_SAMPLE_SUCCEED) rec = testdir.inline_run('--ignore-flaky', test)