@pytest.importorskip("extra_name") def test_something(): # Test logic here pass
extra_name = pytest.importorskip("extra_name")