Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpizz authored and unmade committed Jul 27, 2023
1 parent fa17ca0 commit 88c2dbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/stubs/expected/async/shared.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ from dataclasses import dataclass
from typing import *

class NotFound(Exception):
message: Optional[str] = "Not Found"

def __init__(self, message: Optional[str] = "Not Found") -> None: ...

class EmptyException(Exception): ...
Expand Down
2 changes: 2 additions & 0 deletions tests/stubs/expected/optional/shared.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ from dataclasses import dataclass
from typing import *

class NotFound(Exception):
message: Optional[str] = "Not Found"

def __init__(self, message: Optional[str] = "Not Found") -> None: ...

class EmptyException(Exception): ...
Expand Down
2 changes: 2 additions & 0 deletions tests/stubs/expected/sync/shared.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ from dataclasses import dataclass
from typing import *

class NotFound(Exception):
message: Optional[str] = "Not Found"

def __init__(self, message: Optional[str] = "Not Found") -> None: ...

class EmptyException(Exception): ...
Expand Down

0 comments on commit 88c2dbd

Please sign in to comment.