Skip to content

Commit

Permalink
Add pytest.fail() in pytest stub
Browse files Browse the repository at this point in the history
  • Loading branch information
dmerejkowsky committed Sep 26, 2018
1 parent 36e4a88 commit 8f5030c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stubs/pytest.pyi
@@ -1,4 +1,4 @@
from typing import Any, Callable, Type
from typing import Any, Callable, Type, NoReturn


class Marker():
Expand All @@ -12,3 +12,4 @@ mark = Marker()

def fixture(*args: Any, **kwargs: Any) -> Callable: ...
def raises(error: Type[Exception]) -> Any: ...
def fail(message: str) -> NoReturn: ...

0 comments on commit 8f5030c

Please sign in to comment.