def test_pytest_mark_name_starts_with_underscore(self) -> None: mark = MarkGenerator(_ispytest=True) with pytest.raises(AttributeError): mark._some_name
def test_pytest_mark_notcallable(self) -> None: mark = MarkGenerator(_ispytest=True) with pytest.raises(TypeError): mark() # type: ignore[operator]