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