Skip to content
Myr

✨ Allow setting an environment variable to `None` in `CliRunner.invoke` (#1303)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by arjenzorgdoc · committed by GitHub · parent 2e9fdc1 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:typer/testing.py+1 added-1 removed
10 unmodified lines
11 self,12 app: Typer,13 args: Optional[Union[str, Sequence[str]]] = None,14 input: Optional[Union[bytes, str, IO[Any]]] = None,15 env: Optional[Mapping[str, str]] = None,15 env: Optional[Mapping[str, Optional[str]]] = None,16 catch_exceptions: bool = True,17 color: bool = False,18 **extra: Any,19 ) -> Result:
10 unmodified lines