Skip to content

Commit

Permalink
Fix tuple of strings type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
stinovlas committed Nov 15, 2023
1 parent 34379d8 commit 30e536b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testfixtures/logcapture.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class LogCapture(logging.Handler):

def __init__(
self,
names: Union[str, Tuple[str]] = None,
names: Union[str, Tuple[str, ...]] = None,
install: bool = True,
level: int = 1,
propagate: bool = None,
Expand Down
2 changes: 1 addition & 1 deletion testfixtures/tempdirectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .rmtree import rmtree


PathStrings = Union[str, Tuple[str]]
PathStrings = Union[str, Tuple[str, ...]]


if TYPE_CHECKING:
Expand Down

0 comments on commit 30e536b

Please sign in to comment.