MAINT: xfailing test now passes with new version by bsipocz · Pull Request #293 · scientific-python/pytest-doctestplus

Expand Up @@ -13,10 +13,12 @@
try: import pytest_asyncio # noqa: F401 has_pytest_asyncio = True if Version(pytest_asyncio.__version__) < Version('1.0'): main_pytest_asyncio_xfails = True else: main_pytest_asyncio_xfails = False except ImportError: has_pytest_asyncio = False
main_pytest_asyncio_xfails = False

pytest_plugins = ['pytester'] Expand Down Expand Up @@ -1189,7 +1191,7 @@ class MyClass:

@pytest.mark.xfail( has_pytest_asyncio, main_pytest_asyncio_xfails, reason='pytest_asyncio monkey-patches .collect()') def test_main(testdir): pkg = testdir.mkdir('pkg') Expand Down