Files
wg-backend-django/dell-env/lib/python3.11/site-packages/click/__pycache__/testing.cpython-311.pyc

240 lines
25 KiB
Plaintext
Raw Normal View History

2023-10-30 14:40:43 +07:00
<EFBFBD>
v]?e<>><00><00><><00>ddlZddlZddlZddlZddlZddlZddlZddlZddl m
Z
ddl m Z ddl m Z ddl mZddlmZejrddlmZGd <09>d
<EFBFBD><00>Zejd ejed ejdfd <0A><04><00>ZGd<0E>dej<00><00>Zdejejeeejejfded ej fd<12>Z!Gd<13>d<14><00>Z"Gd<15>d<16><00>Z#dS)<17>N)<01> TracebackType<70>)<01>
formatting)<01>termui)<01>utils)<01>_find_binary_reader)<01> BaseCommandc<00><><00>eZdZdejdejddfd<05>Zdedejfd<07>Zde de fd <09>Z
dd e de fd <0C>Z dd e de fd <0A>Z dd e de fd<0E>Zdeje fd<0F>Zdeje fd<10>Zdefd<11>ZdS)<13> EchoingStdin<69>input<75>output<75>returnNc<00>0<00>||_||_d|_dS)NF)<03>_input<75>_output<75>_paused)<03>selfr r s <20>f/home/infidel/Sync/TIP/WireGuard/ocp-wg-backend/dell-env/lib/python3.11/site-packages/click/testing.py<70>__init__zEchoingStdin.__init__s<00><00><1B><04> <0B><1D><04> <0C><1C><04> <0C> <0C> <0C><00>xc<00>,<00>t|j|<01><00>S<00>N)<02>getattrr)rrs r<00> __getattr__zEchoingStdin.__getattr__s<00><00><16>t<EFBFBD>{<7B>A<EFBFBD>&<26>&<26>&r<00>rvc<00>H<00>|js|j<00>|<01><00>|Sr)rr<00>write)rrs r<00>_echozEchoingStdin._echos'<00><00><13>|<7C> #<23> <10>L<EFBFBD> <1E> <1E>r<EFBFBD> "<22> "<22> "<22><11> r<00><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>nc<00>\<00>|<00>|j<00>|<01><00><00><00>Sr)rr<00>read<61>rr!s rr#zEchoingStdin.read#s$<00><00><13>z<EFBFBD>z<EFBFBD>$<24>+<2B>*<2A>*<2A>1<EFBFBD>-<2D>-<2D>.<2E>.<2E>.rc<00>\<00>|<00>|j<00>|<01><00><00><00>Sr)rr<00>read1r$s rr&zEchoingStdin.read1&s$<00><00><13>z<EFBFBD>z<EFBFBD>$<24>+<2B>+<2B>+<2B>A<EFBFBD>.<2E>.<2E>/<2F>/<2F>/rc<00>\<00>|<00>|j<00>|<01><00><00><00>Sr)rr<00>readliner$s rr(zEchoingStdin.readline)s$<00><00><13>z<EFBFBD>z<EFBFBD>$<24>+<2B>.<2E>.<2E>q<EFBFBD>1<>1<>2<>2<>2rc<00>N<00><00><00>fd<01><08>j<00><00><00>D<00><00>S)Nc<00>:<00><01>g|]}<01><02>|<01><00><00><02>S<00><00>r<00><03>.0rrs <20>r<00>
<listcomp>z*EchoingStdin.readlines.<locals>.<listcomp>-s#<00><><00>?<3F>?<3F>?<3F>!<21><04>
<EFBFBD>
<EFBFBD>1<EFBFBD> <0A> <0A>?<3F>?<3F>?r)r<00> readlines<65>rs`rr0zEchoingStdin.readlines,s+<00><><00>?<3F>?<3F>?<3F>?<3F>t<EFBFBD>{<7B>'<<3C>'<<3C>'><3E>'><3E>?<3F>?<3F>?<3F>?rc<00>D<00><00>t<00>fd<01><08>jD<00><00><00><00>S)Nc3<00>B<00>K<00>|]}<01><02>|<01><00>V<00><00>dSrr,r-s <20>r<00> <genexpr>z(EchoingStdin.__iter__.<locals>.<genexpr>0s-<00><><00><00><00>7<>7<>a<EFBFBD>D<EFBFBD>J<EFBFBD>J<EFBFBD>q<EFBFBD>M<EFBFBD>M<EFBFBD>7<>7<>7<>7<>7<>7r)<02>iterrr1s`r<00>__iter__zEchoingStdin.__iter__/s(<00><><00><13>7<>7<>7<>7<>4<EFBFBD>;<3B>7<>7<>7<>7<>7<>7rc<00>*<00>t|j<00><00>Sr)<02>reprrr1s r<00>__repr__zEchoingStdin.__repr__2s<00><00><13>D<EFBFBD>K<EFBFBD> <20> <20> r)r )<14>__name__<5F>
__module__<EFBFBD> __qualname__<5F>t<>BinaryIOr<00>str<74>Anyr<00>bytesr<00>intr#r&r(<00>Listr0<00>Iteratorr6r9r+rrr r s_<00><00><00><00><00><00><1D>a<EFBFBD>j<EFBFBD><1D>!<21>*<2A><1D><14><1D><1D><1D><1D>
'<27>S<EFBFBD>'<27>Q<EFBFBD>U<EFBFBD>'<27>'<27>'<27>'<27><12><05><12>%<25><12><12><12><12> /<2F>/<2F>c<EFBFBD>/<2F>5<EFBFBD>/<2F>/<2F>/<2F>/<2F>0<>0<>s<EFBFBD>0<>E<EFBFBD>0<>0<>0<>0<>3<>3<>#<23>3<>u<EFBFBD>3<>3<>3<>3<>@<01>1<EFBFBD>6<EFBFBD>%<25>=<3D>@<01>@<01>@<01>@<01>8<>!<21>*<2A>U<EFBFBD>+<2B>8<>8<>8<>8<>!<21>#<23>!<21>!<21>!<21>!<21>!<21>!rr <00>streamrc#<00>>K<00>|<00>dV<00>dSd|_dV<00>d|_dS)NTF)r)rEs r<00> _pause_echorG6s3<00><00><00><00> <0A>~<7E> <0A><05><05><05><05><05><1D><06><0E> <0A><05><05><05><1E><06><0E><0E>rc
<00><><00><00>eZdZdejdededejddf
<EFBFBD>fd<07> Zedefd<08><04><00>Z edefd <09><04><00>Z
<EFBFBD>xZ S)
<EFBFBD>_NamedTextIOWrapper<65>buffer<65>name<6D>mode<64>kwargsrNc <00>X<00><01>t<00><00>j|fi|<04><01>||_||_dSr)<04>superr<00>_name<6D>_mode)rrJrKrLrM<00> __class__s <20>rrz_NamedTextIOWrapper.__init__As6<00><><00> <19><05><07><07><18><16>*<2A>*<2A>6<EFBFBD>*<2A>*<2A>*<2A><19><04>
<EFBFBD><19><04>
<EFBFBD>
<EFBFBD>
rc<00><00>|jSr)rPr1s rrKz_NamedTextIOWrapper.nameH<00>
<00><00><13>z<EFBFBD>rc<00><00>|jSr)rQr1s rrLz_NamedTextIOWrapper.modeLrTr) r:r;r<r=r>r?r@r<00>propertyrKrL<00> __classcell__)rRs@rrIrI@s<><00><><00><00><00><00><00><1A><17>j<EFBFBD><1A>(+<2B><1A>36<33><1A>BC<42>%<25><1A> <0A><1A><1A><1A><1A><1A><1A><0E><1A>c<EFBFBD><1A><1A><1A><0E>X<EFBFBD><1A><0E><1A>c<EFBFBD><1A><1A><1A><0E>X<EFBFBD><1A><1A><1A><1A>rrIr <00>charsetc<00>F<00>t|d<01><00>rOttjtjtj|<00><00><00><00>}|<02>|St d<02><00><00>|<00>d}n*t|t<00><00>r|<00> |<01><00>}tj |<00><00>S)Nr#z.Could not find binary reader for input stream.r) <0C>hasattrrr=<00>cast<73>IOr@<00> TypeError<6F>
isinstancer?<00>encode<64>io<69>BytesIO)r rXrs r<00>make_input_streamrbQs<><00><00><0F>u<EFBFBD>f<EFBFBD><1D><1D>J<01> <20><11><16><01><04>Q<EFBFBD>U<EFBFBD> <0B>U<EFBFBD>!;<3B>!;<3B> <<3C> <<3C><02> <0A>><3E><15>I<EFBFBD><17>H<>I<>I<>I<> <0C>}<7D><13><05><05> <13>E<EFBFBD>3<EFBFBD> <1F> <1F>&<26><15> <0C> <0C>W<EFBFBD>%<25>%<25><05> <0A>:<3A>e<EFBFBD> <1C> <1C>rc<00><00>eZdZdZ ddddedejedejded eje d
ejej
ej e e e ffd <0B>Z ed efd <0A><04><00>Zed efd<0E><04><00>Zed efd<0F><04><00>Zd efd<10>ZdS)<12>Resultz3Holds the captured result of an invoked CLI script.N<>runner<65> CliRunner<65> stdout_bytes<65> stderr_bytes<65> return_value<75> exit_code<64> exception<6F>exc_infoc<00>h<00>||_||_||_||_||_||_||_dSr<00>rergrhrirjrkrl)rrergrhrirjrkrls rrzResult.__init__hs><00><00><1D><04> <0B>(<28><04><19>(<28><04><19>)<29><04><19>"<22><04><0E>"<22><04><0E> <20><04> <0A> <0A> rrc<00><00>|jS)z(The (standard) output as unicode string.)<01>stdoutr1s rr z Result.output<75>s <00><00><14>{<7B>rc<00>t<00>|j<00>|jjd<01><00><00>dd<03><00>S)z&The standard output as unicode string.<2E>replace<63>
<EFBFBD>
)rg<00>decodererXrrr1s rrpz Result.stdout<75>s9<00><00><14> <20>'<27>'<27><04> <0B>(;<3B>Y<EFBFBD>G<>G<>O<>O<> <12>D<EFBFBD>
<EFBFBD>
<EFBFBD>
rc<00><><00>|j<00>td<02><00><00>|j<00>|jjd<03><00><00>dd<05><00>S)z%The standard error as unicode string.Nzstderr not separately capturedrrrsrt)rh<00>
ValueErrorrurerXrrr1s r<00>stderrz Result.stderr<72>sQ<00><00> <10> <1C> $<24><1C>=<3D>><3E>><3E> ><3E><13> <20>'<27>'<27><04> <0B>(;<3B>Y<EFBFBD>G<>G<>O<>O<> <12>D<EFBFBD>
<EFBFBD>
<EFBFBD>
rc<00>r<00>|jrt|j<00><00>nd}dt|<00><00>j<00>d|<01>d<04>S)N<>okay<61><<3C> <20>>)rkr8<00>typer:)r<00>exc_strs rr9zResult.__repr__<5F>s?<00><00>*.<2E>.<2E>D<>$<24>t<EFBFBD>~<7E>&<26>&<26>&<26>f<EFBFBD><07>3<>4<EFBFBD><04>:<3A>:<3A>&<26>3<>3<><17>3<>3<>3<>3rr)r:r;r<<00>__doc__rAr=<00>Optionalr@rB<00> BaseException<6F>Tuple<6C>TyperrrVr?r rprxr9r+rrrdrdes;<00><00><00><00><00><00>=<3D>=<3D> <11>!<21>!<21><1B>!<21><1C>!<21><18>j<EFBFBD><15>'<27> !<21>
<18>e<EFBFBD> !<21> <17> !<21><15>:<3A>m<EFBFBD>,<2C>!<21><14>*<2A> <0A>G<EFBFBD>A<EFBFBD>F<EFBFBD>=<3D>)<29>=<3D>-<2D>G<> H<>
<EFBFBD>!<21>!<21>!<21>!<21>:<0E><1B><03><1B><1B><1B><0E>X<EFBFBD><1B><0E>
<EFBFBD><03>
<EFBFBD>
<EFBFBD>
<EFBFBD><0E>X<EFBFBD>
<EFBFBD> <0E>
<EFBFBD><03>
<EFBFBD>
<EFBFBD>
<EFBFBD><0E>X<EFBFBD>
<EFBFBD>4<>#<23>4<>4<>4<>4<>4<>4rrdc<00><><00>eZdZdZ ddedejejeejefded ed
df
d <0B>Z d d d
efd<0E>Z
ddejejeejefd
ejeejeffd<10>Z e j ddejejeeejejfdejejeejefded
ejejejejejffd<13><05><00>Z dd d dejejeejefdejejeeejejfdejejeejefdededejd
efd<17>Ze j ddejejedfd
ejefd<1A><05><00>ZdS)rfa<>The CLI runner provides functionality to invoke a Click command line
script for unittesting purposes in a isolated environment. This only
works in single-threaded systems without any concurrency as it changes the
global interpreter state.
:param charset: the character set for the input and output data.
:param env: a dictionary with environment variables for overriding.
:param echo_stdin: if this is set to `True`, then reading from stdin writes
to stdout. This is useful for showing examples in
some circumstances. Note that regular prompts
will automatically echo the input.
:param mix_stderr: if this is set to `False`, then stdout and stderr are
preserved as independent streams. This is useful for
Unix-philosophy apps that have predictable stdout and
noisy stderr, such that each may be measured
independently
<20>utf-8NFTrX<00>env<6E>
echo_stdin<EFBFBD>
mix_stderrrc<00>B<00>||_|pi|_||_||_dSr)rXr<>r<>r<>)rrXr<>r<>r<>s rrzCliRunner.__init__<5F>s(<00><00><1F><04> <0C>47<34>I<EFBFBD>2<EFBFBD><04><08>$<24><04><0F>$<24><04><0F><0F>r<00>clir c<00><00>|jpdS)z<>Given a command object it will return the default program name
for it. The default is the `name` attribute or ``"root"`` if not
set.
<20>root)rK)rr<>s r<00>get_default_prog_namezCliRunner.get_default_prog_name<6D>s<00><00>
<13>x<EFBFBD>!<21>6<EFBFBD>!r<00> overridesc<00>\<00>t|j<00><00>}|r|<02>|<01><00>|S)z8Returns the environment overrides for invoking a script.)<03>dictr<74><00>update)rr<>rs r<00>make_envzCliRunner.make_env<6E>s0<00><00><12>$<24>(<28>^<5E>^<5E><02> <14> !<21> <0E>I<EFBFBD>I<EFBFBD>i<EFBFBD> <20> <20> <20><11> rr <00>colorc#<00><><00><17>K<00>t||j<00><00>}d}tj}tj}tj}t j} dt _|<00>|<02><00>}tj
<00><00>}
|j r/tj tjt||
<EFBFBD><00><00><00>x}}t!||jdd<04><05><00>xt_<00>|j rd<06>_t!|
|jdd<08><05><00>t_d} |jrtjt_n6tj
<00><00>} t!| |jd dd
<EFBFBD> <0B><00>t_t'|<05><00>dd tjt*d t*f<04>fd<0E> <0A><00>} t'|<05><00>dd tjt*d t*f<04>fd<0F> <0A><00>} t'|<05><00>dt,d t*fd<11><04><00>}|<03> ddtjtjtjdtjt,d t,f<06>fd<14> }t2j}t2j}t2j}t:j}| t2_| t2_|t2_|t:_i} |<02><00><00>D]W\}}t@j!<00>"|<15><00>||<|<16> t@j!|=<00>8#tF$rY<00>DwxYw|t@j!|<<00>X|
| fV<00>|<14><00><00>D]5\}}|<16> t@j!|=<00>#tF$rY<00>"wxYw|t@j!|<<00>6|t_|t_|t_|t2_|t2_|t2_|t:_| t _dS#|<14><00><00>D]5\}}|<16> t@j!|=<00>#tF$rY<00>"wxYw|t@j!|<<00>6|t_|t_|t_|t2_|t2_|t2_|t:_| t _wxYw)anA context manager that sets up the isolation for invoking of a
command line tool. This sets up stdin with the given input data
and `os.environ` with the overrides from the given dictionary.
This also rebinds some internals in Click to be mocked (like the
prompt functionality).
This is automatically done in the :meth:`invoke` method.
:param input: the input stream to put into sys.stdin.
:param env: the environment overrides as dictionary.
:param color: whether the output should contain color codes. The
application can still override this explicitly.
.. versionchanged:: 8.0
``stderr`` is opened with ``errors="backslashreplace"``
instead of the default ``"strict"``.
.. versionchanged:: 4.0
Added the ``color`` parameter.
N<>Pz<stdin><3E>r)<03>encodingrKrLrz<stdout><3E>wz<stderr><3E>backslashreplace)r<>rKrL<00>errors<72>promptrc<00><00><01>tj<00>|pd<01><00><00><02><00><00><00>d<02><00>}tj<00>|<01>d<03><02><00>tj<00><00><00>|S)N<>rsrt)<06>sysrprr(<00>rstrip<69>flush)r<><00>val<61>
text_inputs <20>r<00> visible_inputz*CliRunner.isolation.<locals>.visible_inputsq<00><><00> <0F>J<EFBFBD> <1C> <1C>V<EFBFBD>\<5C>r<EFBFBD> *<2A> *<2A> *<2A><1C>%<25>%<25>'<27>'<27>.<2E>.<2E>v<EFBFBD>6<>6<>C<EFBFBD> <0F>J<EFBFBD> <1C> <1C><03>Z<EFBFBD>Z<EFBFBD>Z<EFBFBD> (<28> (<28> (<28> <0F>J<EFBFBD> <1C> <1C> <1E> <1E> <1E><16>Jrc<00><><00><01>tj<00>|pd<01>d<02><02><00>tj<00><00><00><00><01><00><00><00>d<03><00>S)Nr<4E>rtrs)r<>rprr<>r(r<>)r<>r<>s <20>r<00> hidden_inputz)CliRunner.isolation.<locals>.hidden_inputsZ<00><><00> <0F>J<EFBFBD> <1C> <1C><06> <0C>"<22>0<>0<>0<> 1<> 1<> 1<> <0F>J<EFBFBD> <1C> <1C> <1E> <1E> <1E><1D>&<26>&<26>(<28>(<28>/<2F>/<2F><06>7<>7<> 7r<00>echoc<00><><00>tj<00>d<01><00>}|rtj<00>|<01><00>tj<00><00><00>|S)Nr)r<><00>stdinr#rprr<>)r<><00>chars r<00>_getcharz%CliRunner.isolation.<locals>._getchar#sL<00><00><16>9<EFBFBD>><3E>><3E>!<21>$<24>$<24>D<EFBFBD><13> '<27><13>
<EFBFBD> <20> <20><14>&<26>&<26>&<26> <0F>J<EFBFBD> <1C> <1C> <1E> <1E> <1E><17>KrrEr<>c<00><00><01>|<01><03> S| Srr+)rEr<><00> default_colors <20>r<00>should_strip_ansiz.CliRunner.isolation.<locals>.should_strip_ansi/s<00><><00><15>}<7D>(<28>(<28>(<28><1C>9<EFBFBD> rr)NN)$rbrXr<>r<>rprxr<00> FORCED_WIDTHr<48>r`rar<>r=r[r>r rI<00> _CHUNK_SIZEr<45>rGr<>r?<00>boolr\r@r<00>visible_prompt_func<6E>hidden_prompt_funcr<63>rr<><00>items<6D>os<6F>environ<6F>get<65> Exception)rr r<>r<><00> bytes_input<75>
echo_input<EFBFBD> old_stdin<69>
old_stdout<EFBFBD>
old_stderr<EFBFBD>old_forced_width<74> bytes_output<75> bytes_errorr<72>r<>r<>r<><00>old_visible_prompt_func<6E>old_hidden_prompt_func<6E>old__getchar_func<6E>old_should_strip_ansi<73>old_env<6E>key<65>valuer<65>r<>s @@r<00> isolationzCliRunner.isolation<6F>s<><00><><EFBFBD><00><00><00>6(<28><05>t<EFBFBD>|<7C><<3C><<3C> <0B><19>
<EFBFBD><17>I<EFBFBD> <09><18>Z<EFBFBD>
<EFBFBD><18>Z<EFBFBD>
<EFBFBD>%<25>2<><18>"$<24>
<EFBFBD><1F><12>m<EFBFBD>m<EFBFBD>C<EFBFBD> <20> <20><03><19>z<EFBFBD>|<7C>|<7C> <0C> <0F>?<3F> <0E>'(<28>v<EFBFBD><11>
<EFBFBD>L<EFBFBD><1B>l<EFBFBD>C<>C<>(<0E>(<0E> <0E>K<EFBFBD>*<2A>"5<> <17>$<24>,<2C>Y<EFBFBD>S<EFBFBD>"
<EFBFBD>"
<EFBFBD>"
<EFBFBD>
<EFBFBD><03> <09>J<EFBFBD> <10>?<3F> '<27>&'<27>J<EFBFBD> "<22>(<28> <18>4<EFBFBD><<3C>j<EFBFBD>s<EFBFBD>
<EFBFBD>
<EFBFBD>
<EFBFBD><03>
<EFBFBD><1B> <0B> <0F>?<3F>
<0E><1C><1A>C<EFBFBD>J<EFBFBD>J<EFBFBD><1C>*<2A>,<2C>,<2C>K<EFBFBD>,<2C><1B><1D><1C><1F><18>)<29> <0E><0E><0E>C<EFBFBD>J<EFBFBD>
<15>Z<EFBFBD> <20> <20> <17> <17>!<21>*<2A>S<EFBFBD>/<2F> <17>S<EFBFBD> <17> <17> <17> <17> <17>
!<21> <20> <17>
<15>Z<EFBFBD> <20> <20> 8<> 8<><11><1A>C<EFBFBD><1F> 8<>C<EFBFBD> 8<> 8<> 8<> 8<> 8<>
!<21> <20> 8<>
<15>Z<EFBFBD> <20> <20> <18>4<EFBFBD> <18>C<EFBFBD> <18> <18> <18>
!<21> <20> <18><1E> <0A>OS<01> <1D> <1D><15>J<EFBFBD>q<EFBFBD>t<EFBFBD>A<EFBFBD>E<EFBFBD>{<7B>+<2B> <1D>;<<3C>:<3A>d<EFBFBD>;K<> <1D> <11> <1D> <1D> <1D> <1D> <1D> <1D>#)<29>"<<3C><1F>!'<27>!:<3A><1E>"<22>O<EFBFBD><19> %<25> 7<><1D>%2<><06>"<22>$0<><06>!<21>"<22><06><0F>"3<><05><1F><14><07> 7<>!<21>i<EFBFBD>i<EFBFBD>k<EFBFBD>k<EFBFBD> ,<2C> ,<2C>
<EFBFBD><03>U<EFBFBD>!<21>z<EFBFBD>~<7E>~<7E>c<EFBFBD>2<>2<><07><03> <0C><18>=<3D><1D><1E>J<EFBFBD>s<EFBFBD>O<EFBFBD>O<EFBFBD><4F>$<24><1D><1D><1D><1C><04><1D><><EFBFBD><EFBFBD>',<2C>B<EFBFBD>J<EFBFBD>s<EFBFBD>O<EFBFBD>O<EFBFBD><1F><1B>-<2D> -<2D> -<2D> -<2D>%<25>m<EFBFBD>m<EFBFBD>o<EFBFBD>o<EFBFBD> ,<2C> ,<2C>
<EFBFBD><03>U<EFBFBD><18>=<3D><1D><1E>J<EFBFBD>s<EFBFBD>O<EFBFBD>O<EFBFBD><4F>$<24><1D><1D><1D><1C><04><1D><><EFBFBD><EFBFBD>',<2C>B<EFBFBD>J<EFBFBD>s<EFBFBD>O<EFBFBD>O<EFBFBD>#<23>C<EFBFBD>J<EFBFBD>#<23>C<EFBFBD>J<EFBFBD>!<21>C<EFBFBD>I<EFBFBD>)@<40>F<EFBFBD> &<26>(><3E>F<EFBFBD> %<25>/<2F>F<EFBFBD>O<EFBFBD>&;<3B>E<EFBFBD> #<23>&6<>J<EFBFBD> #<23> #<23> #<23><>&<26>m<EFBFBD>m<EFBFBD>o<EFBFBD>o<EFBFBD> ,<2C> ,<2C>
<EFBFBD><03>U<EFBFBD><18>=<3D><1D><1E>J<EFBFBD>s<EFBFBD>O<EFBFBD>O<EFBFBD><4F>$<24><1D><1D><1D><1C><04><1D><><EFBFBD><EFBFBD>',<2C>B<EFBFBD>J<EFBFBD>s<EFBFBD>O<EFBFBD>O<EFBFBD>#<23>C<EFBFBD>J<EFBFBD>#<23>C<EFBFBD>J<EFBFBD>!<21>C<EFBFBD>I<EFBFBD>)@<40>F<EFBFBD> &<26>(><3E>F<EFBFBD> %<25>/<2F>F<EFBFBD>O<EFBFBD>&;<3B>E<EFBFBD> #<23>&6<>J<EFBFBD> #<23> 6<> 6<> 6<> 6sg<00>2=O<00>0 K><02>=O<00>>
L <05>O<00>
L <05> O<00> M<02>
M<05>M<05>Q<<03>- O;<06>:Q<<03>;
P <09>Q<<03>P <09>A4Q<<03>args<67>catch_exceptions<6E>extrac <00>0<00>d}|<00>|||<06><02><00>5} d}
d} d} t|t<00><00>rtj|<02><00>} |<07>d<04><00>} n%#t $r|<00>|<01><00>} YnwxYw |jd|pd| d<06>|<07><01>}
<EFBFBD>n#t$r<>}tj <00><00>}tj tjtjt tjf|j<00><00>}|<0F>d}|dkr|} t|t <00><00>sMtj<00>t|<0F><00><00><00>tj<00>d<07><00>d}|} Yd}~n4d}~wt*$r$}|s<01>|} d} tj <00><00>}Yd}~nd}~wwxYwtj<00><00><00>| d<00><00><00>}|jrd}n|| d<00><00><00>}na#tj<00><00><00>| d<00><00><00>}|jrd}n| d<00><00><00>}wxYwddd<01><00>n #1swxYwYt3||||
| | |<08> <09><00>S)
a<EFBFBD>Invokes a command in an isolated environment. The arguments are
forwarded directly to the command line script, the `extra` keyword
arguments are passed to the :meth:`~clickpkg.Command.main` function of
the command.
This returns a :class:`Result` object.
:param cli: the command to invoke
:param args: the arguments to invoke. It may be given as an iterable
or a string. When given as string it will be interpreted
as a Unix shell command. More details at
:func:`shlex.split`.
:param input: the input data for `sys.stdin`.
:param env: the environment overrides.
:param catch_exceptions: Whether to catch any other exceptions than
``SystemExit``.
:param extra: the keyword arguments to pass to :meth:`main`.
:param color: whether the output should contain color codes. The
application can still override this explicitly.
.. versionchanged:: 8.0
The result object has the ``return_value`` attribute with
the value returned from the invoked command.
.. versionchanged:: 4.0
Added the ``color`` parameter.
.. versionchanged:: 3.0
Added the ``catch_exceptions`` parameter.
.. versionchanged:: 3.0
The result object has the ``exc_info`` attribute with the
traceback if available.
N)r r<>r<>r<00> prog_namer+)r<>r<>rtrrn)r<>r^r?<00>shlex<65>split<69>pop<6F>KeyErrorr<72><00>main<69>
SystemExitr<EFBFBD>rlr=r[r<><00>UnionrBr@<00>coderprr<>r<><00>getvaluer<65>rd)rr<>r<>r r<>r<>r<>r<>rl<00>
outstreamsrirkrjr<><00>e<>e_coderprxs r<00>invokezCliRunner.invoke]s<><00><00>X<18><08> <11>^<5E>^<5E>%<25>S<EFBFBD><05>^<5E> ><3E> ><3E>, 6<>*<2A><1F>L<EFBFBD>37<33>I<EFBFBD><19>I<EFBFBD><19>$<24><03>$<24>$<24> )<29><1C>{<7B>4<EFBFBD>(<28>(<28><04> <<3C>!<21>I<EFBFBD>I<EFBFBD>k<EFBFBD>2<>2<> <09> <09><><1B> <<3C> <<3C> <<3C> <20>6<>6<>s<EFBFBD>;<3B>;<3B> <09> <09> <09> <<3C><><EFBFBD><EFBFBD> 6<>'<27>s<EFBFBD>x<EFBFBD>V<>T<EFBFBD>Z<EFBFBD>R<EFBFBD>9<EFBFBD>V<>V<>PU<50>V<>V<> <0C> <0C><><1D> #<23> #<23> #<23><1E><<3C>><3E>><3E><08><1A><16><01>
<EFBFBD>1<EFBFBD>7<EFBFBD>3<EFBFBD><01><05>:<3A>+><3E> ?<3F><11><16>H<>H<><06><19>><3E><1E>F<EFBFBD><19>Q<EFBFBD>;<3B>;<3B> !<21>I<EFBFBD>!<21>&<26>#<23>.<2E>.<2E><1F><17>J<EFBFBD>$<24>$<24>S<EFBFBD><16>[<5B>[<5B>1<>1<>1<><17>J<EFBFBD>$<24>$<24>T<EFBFBD>*<2A>*<2A>*<2A><1E>F<EFBFBD>"<22> <09> <09> <09> <09> <09> <09><><EFBFBD><EFBFBD><EFBFBD><1C> *<2A> *<2A> *<2A>'<27><1A><19><1D> <09><1D> <09><1E><<3C>><3E>><3E><08><08><08><08><08><08><><EFBFBD><EFBFBD><EFBFBD>  *<2A><><EFBFBD><EFBFBD><14>
<EFBFBD> <20> <20>"<22>"<22>"<22>#<23>A<EFBFBD><1D>/<2F>/<2F>1<>1<><06><17>?<3F>6<>!<21>F<EFBFBD>F<EFBFBD>'<27><01>]<5D>3<>3<>5<>5<>F<EFBFBD>F<EFBFBD><46> <14>
<EFBFBD> <20> <20>"<22>"<22>"<22>#<23>A<EFBFBD><1D>/<2F>/<2F>1<>1<><06><17>?<3F>6<>!<21>F<EFBFBD>F<EFBFBD>'<27><01>]<5D>3<>3<>5<>5<>F<EFBFBD>5<>5<>5<>5<>Y, 6<>, 6<>, 6<>, 6<>, 6<>, 6<>, 6<>, 6<>, 6<>, 6<>, 6<><36><EFBFBD><EFBFBD>, 6<>, 6<>, 6<>, 6<>\<16><17><1F><1F>%<25><1F><1F><1D>
<EFBFBD>
<EFBFBD>
<EFBFBD>
s<EFBFBD><00>0I7<03> A"<02>!I7<03>"B<05>I7<03>B<05>I7<03>B<02>H
<02>
F*<05>&CE9<05>4H
<02>9 F*<05>F%<05> H
<02>%F*<05>*H
<02>-AI7<03>
AI(<05>(I7<03>7I;<07>>I;<07>temp_dirzos.PathLike[str]c#<00><>K<00>tj<00><00>}tj|<01><01><00>}tj|<03><00> |V<00>tj|<02><00>|<01>( t j|<03><00>dS#t$rYdSwxYwdS#tj|<02><00>|<01>& t j|<03><00>w#t$rYwwxYwwxYw)a<>A context manager that creates a temporary directory and
changes the current working directory to it. This isolates tests
that affect the contents of the CWD to prevent them from
interfering with each other.
:param temp_dir: Create the temporary directory under this
directory. If given, the created directory is not removed
when exiting.
.. versionchanged:: 8.0
Added the ``temp_dir`` parameter.
)<01>dirN)r<><00>getcwd<77>tempfile<6C>mkdtemp<6D>chdir<69>shutil<69>rmtree<65>OSError)rr<><00>cwd<77>dts r<00>isolated_filesystemzCliRunner.isolated_filesystem<65>s<><00><00><00><00> <11>i<EFBFBD>k<EFBFBD>k<EFBFBD><03> <15> <1D>(<28> +<2B> +<2B> +<2B><02>
<EFBFBD><08><12> <0C> <0C> <0C> <19><14>H<EFBFBD>H<EFBFBD>H<EFBFBD> <0E>H<EFBFBD>S<EFBFBD>M<EFBFBD>M<EFBFBD>M<EFBFBD><17><1F><19><1A>M<EFBFBD>"<22>%<25>%<25>%<25>%<25>%<25><><1E><19><19><19><18>D<EFBFBD>D<EFBFBD><19><><EFBFBD><EFBFBD> <20><1F><> <0F>H<EFBFBD>S<EFBFBD>M<EFBFBD>M<EFBFBD>M<EFBFBD><17><1F><19><1A>M<EFBFBD>"<22>%<25>%<25>%<25>%<25><><1E><19><19><19><18>D<EFBFBD><19><><EFBFBD><EFBFBD> <20><><EFBFBD>sB<00>B<00>A1<00>1
A?<03>>A?<03>C<03>B1<04>0C<03>1
B><07>;C<03>=B><07>>C)r<>NFTr)NNF)NNNTF)r:r;r<r<>r?r=r<><00>Mappingr<67>rr<>r<><00>
contextlib<EFBFBD>contextmanagerr<72>rAr\r@rDr<>r`rar<><00>Sequencerdr<>r<>r+rrrfrf<00>s<><00><00><00><00><00><00><08><08>(<1F>;?<3F> <20><1F>
%<25>
%<25><14>
%<25><0F>Z<EFBFBD><01> <09>#<23>q<EFBFBD>z<EFBFBD>#<23><EFBFBD>"6<>7<> 8<>
%<25><19>
%<25>
<19>
%<25>
<0E>
%<25>
%<25>
%<25>
%<25>"<22><1D>"<22>3<EFBFBD>"<22>"<22>"<22>"<22>HL<01><12><12><1A><1A>A<EFBFBD>I<EFBFBD>c<EFBFBD>1<EFBFBD>:<3A>c<EFBFBD>?<3F>.B<>$C<>D<><12>
<EFBFBD><19>3<EFBFBD><01>
<EFBFBD>3<EFBFBD><0F>'<27> (<28><12><12><12><12><10><1E>?C<01>;?<3F><1B> L7<>L7<><10>z<EFBFBD>!<21>'<27>#<23>u<EFBFBD>a<EFBFBD>d<EFBFBD>1<EFBFBD>5<EFBFBD>k<EFBFBD>"9<>:<3A>;<3B>L7<><0F>Z<EFBFBD><01> <09>#<23>q<EFBFBD>z<EFBFBD>#<23><EFBFBD>"6<>7<> 8<>L7<><14> L7<>
<0B><1A>A<EFBFBD>G<EFBFBD>B<EFBFBD>J<EFBFBD><01>
<EFBFBD>2<EFBFBD>:<3A>(><3E>><3E>?<3F> @<40> L7<>L7<>L7<><1F><1E>L7<>b;?<3F>>B<>;?<3F>!%<25><1B>c
<EFBFBD>c
<EFBFBD> <1A>c
<EFBFBD><10>j<EFBFBD><11><17><13>a<EFBFBD>j<EFBFBD><13>o<EFBFBD>!5<>6<>7<>c
<EFBFBD><11>z<EFBFBD>!<21>'<27>#<23>u<EFBFBD>a<EFBFBD>d<EFBFBD>1<EFBFBD>5<EFBFBD>k<EFBFBD>"9<>:<3A>;<3B> c
<EFBFBD>
<0F>Z<EFBFBD><01> <09>#<23>q<EFBFBD>z<EFBFBD>#<23><EFBFBD>"6<>7<> 8<> c
<EFBFBD> <1F> c
<EFBFBD><14>c
<EFBFBD><13><15>c
<EFBFBD>
<10>c
<EFBFBD>c
<EFBFBD>c
<EFBFBD>c
<EFBFBD>J<10><1E>GK<47><19><19><19>
<EFBFBD>1<EFBFBD>7<EFBFBD>3<EFBFBD>0B<EFBFBD>+B<>#C<>D<><19>
<EFBFBD><1A>C<EFBFBD><1F><19><19><19><1F><1E><19><19>rrf)$r<>r`r<>r<>r<>r<>r<><00>typingr=<00>typesrr<>rrr<00>_compatr<00> TYPE_CHECKING<4E>corer r r<>r<>rDrG<00> TextIOWrapperrIr<>r?rAr\r@r>rbrdrfr+rr<00><module>r<>s<00><01><11><11><11><11> <09> <09> <09> <09> <09> <09> <09> <09> <0C> <0C> <0C> <0C> <0A> <0A> <0A> <0A>
<EFBFBD>
<EFBFBD>
<EFBFBD>
<EFBFBD><0F><0F><0F><0F><12><12><12><12><1F><1F><1F><1F><1F><1F><18><18><18><18><18><18><14><14><14><14><14><14><13><13><13><13><13><13>(<28>(<28>(<28>(<28>(<28>(<28><04>?<3F>"<22>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>!<21>D <0C><1A><1F><01>
<EFBFBD><<3C>0<><1F>Q<EFBFBD>Z<EFBFBD><04>5E<35><1F><1F><1F><1B><1A><1F><1A><1A><1A><1A><1A>"<22>*<2A><1A><1A><1A>"<1D> <0C>:<3A>a<EFBFBD>g<EFBFBD>c<EFBFBD>5<EFBFBD>!<21>$<24>q<EFBFBD>u<EFBFBD>+<2B>5<>6<> 7<><1D>BE<42><1D><06>Z<EFBFBD><1D><1D><1D><1D>(74<>74<>74<>74<>74<>74<>74<>74<>t@<19>@<19>@<19>@<19>@<19>@<19>@<19>@<19>@<19>@r