import{s as RT,o as ST,n as vm}from"../chunks/scheduler.9bc65507.js";import{S as LT,i as AT,g as a,s as n,u as d,A as ET,h as o,f as e,c as i,j as y,v as u,y as r,k as p,o as h,a as l,w as c,d as f,t as m,x as w}from"../chunks/index.78c82d43.js";import{T as Mm}from"../chunks/Tip.87d55b76.js";import{I as v}from"../chunks/IconCopyLink.bedaa44d.js";import{C as M}from"../chunks/CodeBlock.48618ec2.js";function WT(J){let $,g="This plugin doesn’t work with <code>-n</code> flag from <code>pytest-xdist</code>.";return{c(){$=a("p"),$.innerHTML=g},l(T){$=o(T,"P",{"data-svelte-h":!0}),r($)!=="svelte-1p59ipz"&&($.innerHTML=g)},m(T,b){l(T,$,b)},p:vm,d(T){T&&e($)}}}function PT(J){let $,g="There is another plugin <code>pytest-repeat</code>, but it doesn’t work with <code>unittest</code>.";return{c(){$=a("p"),$.innerHTML=g},l(T){$=o(T,"P",{"data-svelte-h":!0}),r($)!=="svelte-huhi42"&&($.innerHTML=g)},m(T,b){l(T,$,b)},p:vm,d(T){T&&e($)}}}function QT(J){let $,g=`In order to run the equivalent of <code>rm -r</code> safely, only subdirs of the project repository checkout are allowed if
an explicit <code>tmp_dir</code> is used, so that by mistake no <code>/tmp</code> or similar important part of the filesystem will
get nuked. i.e. please always pass paths that start with <code>./</code>.`;return{c(){$=a("p"),$.innerHTML=g},l(T){$=o(T,"P",{"data-svelte-h":!0}),r($)!=="svelte-1fj8gae"&&($.innerHTML=g)},m(T,b){l(T,$,b)},p:vm,d(T){T&&e($)}}}function FT(J){let $,g=`Each test can register multiple temporary directories and they all will get auto-removed, unless requested
otherwise.`;return{c(){$=a("p"),$.textContent=g},l(T){$=o(T,"P",{"data-svelte-h":!0}),r($)!=="svelte-1r50p82"&&($.textContent=g)},m(T,b){l(T,$,b)},p:vm,d(T){T&&e($)}}}function qT(J){let $,g,T,b,C,ct,Ao,ie,$m,to,rw="Testing",Gr,ae,pw="Let’s take a look at how 🤗 Transformers models are tested and how you can write new tests and improve the existing ones.",Xr,oe,hw="There are 2 test suites in the repository:",Nr,re,dw="<li><code>tests</code> — tests for the general API</li> <li><code>examples</code> — tests primarily for various applications that aren’t part of the API</li>",Br,_,ft,Eo,pe,Tm,eo,uw="How transformers are tested",Vr,he,cw=`<li><p>Once a PR is submitted it gets tested with 9 CircleCi jobs. Every new commit to that PR gets retested. These jobs
are defined in this <a href="https://github.com/huggingface/transformers/tree/main/.circleci/config.yml" rel="nofollow">config file</a>, so that if needed you can reproduce the same
environment on your machine.</p> <p>These CI jobs don’t run <code>@slow</code> tests.</p></li> <li><p>There are 3 jobs run by <a href="https://github.com/huggingface/transformers/actions" rel="nofollow">github actions</a>:</p> <ul><li><p><a href="https://github.com/huggingface/transformers/tree/main/.github/workflows/github-torch-hub.yml" rel="nofollow">torch hub integration</a>: checks whether torch hub
integration works.</p></li> <li><p><a href="https://github.com/huggingface/transformers/tree/main/.github/workflows/self-push.yml" rel="nofollow">self-hosted (push)</a>: runs fast tests on GPU only on commits on
<code>main</code>. It only runs if a commit on <code>main</code> has updated the code in one of the following folders: <code>src</code>,
<code>tests</code>, <code>.github</code> (to prevent running on added model cards, notebooks, etc.)</p></li> <li><p><a href="https://github.com/huggingface/transformers/tree/main/.github/workflows/self-scheduled.yml" rel="nofollow">self-hosted runner</a>: runs normal and slow tests on GPU in
<code>tests</code> and <code>examples</code>:</p></li></ul></li>`,zr,de,Rr,ue,fw='The results can be observed <a href="https://github.com/huggingface/transformers/actions" rel="nofollow">here</a>.',Sr,j,mt,Wo,ce,gm,so,mw="Running tests",Lr,x,wt,Po,fe,bm,lo,ww="Choosing which tests to run",Ar,me,yw=`This document goes into many details of how tests can be run. If after reading everything, you need even more details
you will find them <a href="https://docs.pytest.org/en/latest/usage.html" rel="nofollow">here</a>.`,Er,we,Mw="Here are some most useful ways of running tests.",Wr,ye,vw="Run all:",Pr,Me,Qr,ve,$w="or:",Fr,$e,qr,Te,Tw="Note that the latter is defined as:",Yr,ge,Kr,be,gw="which tells pytest to:",Dr,Je,bw="<li>run as many test processes as they are CPU cores (which could be too many if you don’t have a ton of RAM!)</li> <li>ensure that all tests from the same file will be run by the same test process</li> <li>do not capture output</li> <li>run in verbose mode</li>",Or,k,yt,Qo,Ce,Jm,no,Jw="Getting the list of all tests",tp,_e,Cw="All tests of the test suite:",ep,je,sp,xe,_w="All tests of a given test file:",lp,ke,np,U,Mt,Fo,Ue,Cm,io,jw="Run a specific test module",ip,Ie,xw="To run an individual test module:",ap,Ze,op,I,vt,qo,He,_m,ao,kw="Run specific tests",rp,Ge,Uw=`Since unittest is used inside most of the tests, to run specific subtests you need to know the name of the unittest
class containing those tests. For example, it could be:`,pp,Xe,hp,Ne,Iw="Here:",dp,Be,Zw="<li><code>tests/test_optimization.py</code> - the file with tests</li> <li><code>OptimizationTest</code> - the name of the class</li> <li><code>test_adam_w</code> - the name of the specific test function</li>",up,Ve,Hw="If the file contains multiple classes, you can choose to run only tests of a given class. For example:",cp,ze,fp,Re,Gw="will run all the tests inside that class.",mp,Se,Xw="As mentioned earlier you can see what tests are contained inside the <code>OptimizationTest</code> class by running:",wp,Le,yp,Ae,Nw="You can run tests by keyword expressions.",Mp,Ee,Bw="To run only tests whose name contains <code>adam</code>:",vp,We,$p,Pe,Vw=`Logical <code>and</code> and <code>or</code> can be used to indicate whether all keywords should match or either. <code>not</code> can be used to
negate.`,Tp,Qe,zw="To run all tests except those whose name contains <code>adam</code>:",gp,Fe,bp,qe,Rw="And you can combine the two patterns in one:",Jp,Ye,Cp,Ke,Sw="For example to run both <code>test_adafactor</code> and <code>test_adam_w</code> you can use:",_p,De,jp,Oe,Lw="Note that we use <code>or</code> here, since we want either of the keywords to match to include both.",xp,ts,Aw="If you want to include only tests that include both patterns, <code>and</code> is to be used:",kp,es,Up,Z,$t,Yo,ss,jm,oo,Ew="Run <code>accelerate</code> tests",Ip,ls,Ww="Sometimes you need to run <code>accelerate</code> tests on your models. For that you can just add <code>-m accelerate_tests</code> to your command, if let’s say you want to run these tests on <code>OPT</code> run:",Zp,ns,Hp,H,Tt,Ko,is,xm,ro,Pw="Run documentation tests",Gp,as,Qw=`In order to test whether the documentation examples are correct, you should check that the <code>doctests</code> are passing.
As an example, let’s use <a href="https://github.com/huggingface/transformers/blob/main/src/transformers/models/whisper/modeling_whisper.py#L1017-L1035" rel="nofollow"><code>WhisperModel.forward</code>’s docstring</a>:`,Xp,os,Np,rs,Fw="Just run the following line to automatically test every docstring example in the desired file:",Bp,ps,Vp,hs,qw="If the file has a markdown extention, you should add the <code>--doctest-glob=&quot;*.md&quot;</code> argument.",zp,G,gt,Do,ds,km,po,Yw="Run only modified tests",Rp,us,Kw=`You can run the tests related to the unstaged files or the current branch (according to Git) by using <a href="https://github.com/anapaulagomes/pytest-picked" rel="nofollow">pytest-picked</a>. This is a great way of quickly testing your changes didn’t break
anything, since it won’t run the tests related to files you didn’t touch.`,Sp,cs,Lp,fs,Ap,ms,Dw="All tests will be run from files and folders which are modified, but not yet committed.",Ep,X,bt,Oo,ws,Um,ho,Ow="Automatically rerun failed tests on source modification",Wp,ys,ty=`<a href="https://github.com/pytest-dev/pytest-xdist" rel="nofollow">pytest-xdist</a> provides a very useful feature of detecting all failed
tests, and then waiting for you to modify files and continuously re-rerun those failing tests until they pass while you
fix them. So that you don’t need to re start pytest after you made the fix. This is repeated until all tests pass after
which again a full run is performed.`,Pp,Ms,Qp,vs,ey="To enter the mode: <code>pytest -f</code> or <code>pytest --looponfail</code>",Fp,$s,sy=`File changes are detected by looking at <code>looponfailroots</code> root directories and all of their contents (recursively).
If the default for this value does not work for you, you can change it in your project by setting a configuration
option in <code>setup.cfg</code>:`,qp,Ts,Yp,gs,ly="or <code>pytest.ini</code>/<code>tox.ini</code> files:",Kp,bs,Dp,Js,ny=`This would lead to only looking for file changes in the respective directories, specified relatively to the ini-file’s
directory.`,Op,Cs,iy='<a href="https://github.com/joeyespo/pytest-watch" rel="nofollow">pytest-watch</a> is an alternative implementation of this functionality.',th,N,Jt,tr,_s,Im,uo,ay="Skip a test module",eh,js,oy=`If you want to run all test modules, except a few you can exclude them by giving an explicit list of tests to run. For
example, to run all except <code>test_modeling_*.py</code> tests:`,sh,xs,lh,B,Ct,er,ks,Zm,co,ry="Clearing state",nh,Us,py="CI builds and when isolation is important (against speed), cache should be cleared:",ih,Is,ah,V,_t,sr,Zs,Hm,fo,hy="Running tests in parallel",oh,Hs,dy=`As mentioned earlier <code>make test</code> runs tests in parallel via <code>pytest-xdist</code> plugin (<code>-n X</code> argument, e.g. <code>-n 2</code>
to run 2 parallel jobs).`,rh,Gs,uy=`<code>pytest-xdist</code>’s <code>--dist=</code> option allows one to control how the tests are grouped. <code>--dist=loadfile</code> puts the
tests located in one file onto the same process.`,ph,Xs,cy=`Since the order of executed tests is different and unpredictable, if running the test suite with <code>pytest-xdist</code>
produces failures (meaning we have some undetected coupled tests), use <a href="https://github.com/ESSS/pytest-replay" rel="nofollow">pytest-replay</a> to replay the tests in the same order, which should help with then somehow
reducing that failing sequence to a minimum.`,hh,z,jt,lr,Ns,Gm,mo,fy="Test order and repetition",dh,Bs,my=`It’s good to repeat the tests several times, in sequence, randomly, or in sets, to detect any potential
inter-dependency and state-related bugs (tear down). And the straightforward multiple repetition is just good to detect
some problems that get uncovered by randomness of DL.`,uh,R,xt,nr,Vs,Xm,wo,wy="Repeat tests",ch,zs,yy='<li><a href="https://github.com/dropbox/pytest-flakefinder" rel="nofollow">pytest-flakefinder</a>:</li>',fh,Rs,mh,Ss,My="And then run every test multiple times (50 by default):",wh,Ls,yh,kt,Mh,Ut,vh,S,It,ir,As,Nm,yo,vy="Run tests in a random order",$h,Es,Th,Ws,$y=`Important: the presence of <code>pytest-random-order</code> will automatically randomize tests, no configuration change or
command line options is required.`,gh,Ps,Ty=`As explained earlier this allows detection of coupled tests - where one test’s state affects the state of another. When
<code>pytest-random-order</code> is installed it will print the random seed it used for that session, e.g:`,bh,Qs,Jh,Fs,gy="So that if the given particular sequence fails, you can reproduce it by adding that exact seed, e.g.:",Ch,qs,_h,Ys,by=`It will only reproduce the exact order if you use the exact same list of tests (or no list at all). Once you start to
manually narrowing down the list you can no longer rely on the seed, but have to list them manually in the exact order
they failed and tell pytest to not randomize them instead using <code>--random-order-bucket=none</code>, e.g.:`,jh,Ks,xh,Ds,Jy="To disable the shuffling for all tests:",kh,Os,Uh,tl,Cy=`By default <code>--random-order-bucket=module</code> is implied, which will shuffle the files on the module levels. It can also
shuffle on <code>class</code>, <code>package</code>, <code>global</code> and <code>none</code> levels. For the complete details please see its
<a href="https://github.com/jbasko/pytest-random-order" rel="nofollow">documentation</a>.`,Ih,el,_y=`Another randomization alternative is: <a href="https://github.com/pytest-dev/pytest-randomly" rel="nofollow"><code>pytest-randomly</code></a>. This
module has a very similar functionality/interface, but it doesn’t have the bucket modes available in
<code>pytest-random-order</code>. It has the same problem of imposing itself once installed.`,Zh,L,Zt,ar,sl,Bm,Mo,jy="Look and feel variations",Hh,A,Ht,or,ll,Vm,vo,xy="pytest-sugar",Gh,nl,ky=`<a href="https://github.com/Frozenball/pytest-sugar" rel="nofollow">pytest-sugar</a> is a plugin that improves the look-n-feel, adds a
progressbar, and show tests that fail and the assert instantly. It gets activated automatically upon installation.`,Xh,il,Nh,al,Uy="To run tests without it, run:",Bh,ol,Vh,rl,Iy="or uninstall it.",zh,E,Gt,rr,pl,zm,$o,Zy="Report each sub-test name and its progress",Rh,hl,Hy="For a single or a group of tests via <code>pytest</code> (after <code>pip install pytest-pspec</code>):",Sh,dl,Lh,W,Xt,pr,ul,Rm,To,Gy="Instantly shows failed tests",Ah,cl,Xy=`<a href="https://github.com/pytest-dev/pytest-instafail" rel="nofollow">pytest-instafail</a> shows failures and errors instantly instead of
waiting until the end of test session.`,Eh,fl,Wh,ml,Ph,P,Nt,hr,wl,Sm,go,Ny="To GPU or not to GPU",Qh,yl,By="On a GPU-enabled setup, to test in CPU-only mode add <code>CUDA_VISIBLE_DEVICES=&quot;&quot;</code>:",Fh,Ml,qh,vl,Vy=`or if you have multiple gpus, you can specify which one is to be used by <code>pytest</code>. For example, to use only the
second gpu if you have gpus <code>0</code> and <code>1</code>, you can run:`,Yh,$l,Kh,Tl,zy="This is handy when you want to run different tasks on different GPUs.",Dh,gl,Ry=`Some tests must be run on CPU-only, others on either CPU or GPU or TPU, yet others on multiple-GPUs. The following skip
decorators are used to set the requirements of tests CPU/GPU/TPU-wise:`,Oh,bl,Sy="<li><code>require_torch</code> - this test will run only under torch</li> <li><code>require_torch_gpu</code> - as <code>require_torch</code> plus requires at least 1 GPU</li> <li><code>require_torch_multi_gpu</code> - as <code>require_torch</code> plus requires at least 2 GPUs</li> <li><code>require_torch_non_multi_gpu</code> - as <code>require_torch</code> plus requires 0 or 1 GPUs</li> <li><code>require_torch_up_to_2_gpus</code> - as <code>require_torch</code> plus requires 0 or 1 or 2 GPUs</li> <li><code>require_torch_tpu</code> - as <code>require_torch</code> plus requires at least 1 TPU</li>",td,Jl,Ly="Let’s depict the GPU requirements in the following table:",ed,Cl,Ay=`| n gpus | decorator                      |
|--------+--------------------------------|
| <code>&gt;= 0</code> | <code>@require_torch</code>               |
| <code>&gt;= 1</code> | <code>@require_torch_gpu</code>           |
| <code>&gt;= 2</code> | <code>@require_torch_multi_gpu</code>     |
| <code>&lt; 2</code>  | <code>@require_torch_non_multi_gpu</code> |
| <code>&lt; 3</code>  | <code>@require_torch_up_to_2_gpus</code>  |`,sd,_l,Ey="For example, here is a test that must be run only when there are 2 or more GPUs available and pytorch is installed:",ld,jl,nd,xl,Wy="If a test requires <code>tensorflow</code> use the <code>require_tf</code> decorator. For example:",id,kl,ad,Ul,Py=`These decorators can be stacked. For example, if a test is slow and requires at least one GPU under pytorch, here is
how to set it up:`,od,Il,rd,Zl,Qy=`Some decorators like <code>@parametrized</code> rewrite test names, therefore <code>@require_*</code> skip decorators have to be listed
last for them to work correctly. Here is an example of the correct usage:`,pd,Hl,hd,Gl,Fy=`This order problem doesn’t exist with <code>@pytest.mark.parametrize</code>, you can put it first or last and it will still
work. But it only works with non-unittests.`,dd,Xl,qy="Inside tests:",ud,Nl,Yy="<li>How many GPUs are available:</li>",cd,Bl,fd,Q,Bt,dr,Vl,Lm,bo,Ky="Testing with a specific PyTorch backend or device",md,zl,Dy="To run the test suite on a specific torch device add <code>TRANSFORMERS_TEST_DEVICE=&quot;$device&quot;</code> where <code>$device</code> is the target backend. For example, to test on CPU only:",wd,Rl,yd,Sl,Oy="This variable is useful for testing custom or less common PyTorch backends such as <code>mps</code>. It can also be used to achieve the same effect as <code>CUDA_VISIBLE_DEVICES</code> by targeting specific GPUs or testing in CPU-only mode.",Md,Ll,tM="Certain devices will require an additional import after importing <code>torch</code> for the first time. This can be specified using the environment variable <code>TRANSFORMERS_TEST_BACKEND</code>:",vd,Al,$d,F,Vt,ur,El,Am,Jo,eM="Distributed training",Td,Wl,sM=`<code>pytest</code> can’t deal with distributed training directly. If this is attempted - the sub-processes don’t do the right
thing and end up thinking they are <code>pytest</code> and start running the test suite in loops. It works, however, if one
spawns a normal process that then spawns off multiple workers and manages the IO pipes.`,gd,Pl,lM="Here are some tests that use it:",bd,Ql,nM='<li><a href="https://github.com/huggingface/transformers/tree/main/tests/trainer/test_trainer_distributed.py" rel="nofollow">test_trainer_distributed.py</a></li> <li><a href="https://github.com/huggingface/transformers/tree/main/tests/deepspeed/test_deepspeed.py" rel="nofollow">test_deepspeed.py</a></li>',Jd,Fl,iM="To jump right into the execution point, search for the <code>execute_subprocess_async</code> call in those tests.",Cd,ql,aM="You will need at least 2 GPUs to see these tests in action:",_d,Yl,jd,q,zt,cr,Kl,Em,Co,oM="Output capture",xd,Dl,rM=`During test execution any output sent to <code>stdout</code> and <code>stderr</code> is captured. If a test or a setup method fails, its
according captured output will usually be shown along with the failure traceback.`,kd,Ol,pM="To disable output capturing and to get the <code>stdout</code> and <code>stderr</code> normally, use <code>-s</code> or <code>--capture=no</code>:",Ud,tn,Id,en,hM="To send test results to JUnit format output:",Zd,sn,Hd,Y,Rt,fr,ln,Wm,_o,dM="Color control",Gd,nn,uM="To have no color (e.g., yellow on white background is not readable):",Xd,an,Nd,K,St,mr,on,Pm,jo,cM="Sending test report to online pastebin service",Bd,rn,fM="Creating a URL for each test failure:",Vd,pn,zd,hn,mM=`This will submit test run information to a remote Paste service and provide a URL for each failure. You may select
tests as usual or add for example -x if you only want to send one particular failure.`,Rd,dn,wM="Creating a URL for a whole test session log:",Sd,un,Ld,D,Lt,wr,cn,Qm,xo,yM="Writing tests",Ad,fn,MM=`🤗 transformers tests are based on <code>unittest</code>, but run by <code>pytest</code>, so most of the time features from both systems
can be used.`,Ed,mn,vM=`You can read <a href="https://docs.pytest.org/en/stable/unittest.html" rel="nofollow">here</a> which features are supported, but the important
thing to remember is that most <code>pytest</code> fixtures don’t work. Neither parametrization, but we use the module
<code>parameterized</code> that works in a similar way.`,Wd,O,At,yr,wn,Fm,ko,$M="Parametrization",Pd,yn,TM=`Often, there is a need to run the same test multiple times, but with different arguments. It could be done from within
the test, but then there is no way of running that test for just one set of arguments.`,Qd,Mn,Fd,vn,gM=`Now, by default this test will be run 3 times, each time with the last 3 arguments of <code>test_floor</code> being assigned the
corresponding arguments in the parameter list.`,qd,$n,bM="and you could run just the <code>negative</code> and <code>integer</code> sets of params with:",Yd,Tn,Kd,gn,JM="or all but <code>negative</code> sub-tests, with:",Dd,bn,Od,Jn,CM=`Besides using the <code>-k</code> filter that was just mentioned, you can find out the exact name of each sub-test and run any
or all of them using their exact names.`,tu,Cn,eu,_n,_M="and it will list:",su,jn,lu,xn,jM="So now you can run just 2 specific sub-tests:",nu,kn,iu,Un,xM=`The module <a href="https://pypi.org/project/parameterized/" rel="nofollow">parameterized</a> which is already in the developer dependencies
of <code>transformers</code> works for both: <code>unittests</code> and <code>pytest</code> tests.`,au,In,kM=`If, however, the test is not a <code>unittest</code>, you may use <code>pytest.mark.parametrize</code> (or you may see it being used in
some existing tests, mostly under <code>examples</code>).`,ou,Zn,UM="Here is the same example, this time using <code>pytest</code>’s <code>parametrize</code> marker:",ru,Hn,pu,Gn,IM=`Same as with <code>parameterized</code>, with <code>pytest.mark.parametrize</code> you can have a fine control over which sub-tests are
run, if the <code>-k</code> filter doesn’t do the job. Except, this parametrization function creates a slightly different set of
names for the sub-tests. Here is what they look like:`,hu,Xn,du,Nn,ZM="and it will list:",uu,Bn,cu,Vn,HM="So now you can run just the specific test:",fu,zn,mu,Rn,GM="as in the previous example.",wu,tt,Et,Mr,Sn,qm,Uo,XM="Files and directories",yu,Ln,NM=`In tests often we need to know where things are relative to the current test file, and it’s not trivial since the test
could be invoked from more than one directory or could reside in sub-directories with different depths. A helper class
<code>transformers.test_utils.TestCasePlus</code> solves this problem by sorting out all the basic paths and provides easy
accessors to them:`,Mu,An,BM="<li><p><code>pathlib</code> objects (all fully resolved):</p> <ul><li><code>test_file_path</code> - the current test file path, i.e. <code>__file__</code></li> <li><code>test_file_dir</code> - the directory containing the current test file</li> <li><code>tests_dir</code> - the directory of the <code>tests</code> test suite</li> <li><code>examples_dir</code> - the directory of the <code>examples</code> test suite</li> <li><code>repo_root_dir</code> - the directory of the repository</li> <li><code>src_dir</code> - the directory of <code>src</code> (i.e. where the <code>transformers</code> sub-dir resides)</li></ul></li> <li><p>stringified paths---same as above but these return paths as strings, rather than <code>pathlib</code> objects:</p> <ul><li><code>test_file_path_str</code></li> <li><code>test_file_dir_str</code></li> <li><code>tests_dir_str</code></li> <li><code>examples_dir_str</code></li> <li><code>repo_root_dir_str</code></li> <li><code>src_dir_str</code></li></ul></li>",vu,En,VM=`To start using those all you need is to make sure that the test resides in a subclass of
<code>transformers.test_utils.TestCasePlus</code>. For example:`,$u,Wn,Tu,Pn,zM=`If you don’t need to manipulate paths via <code>pathlib</code> or you just need a path as a string, you can always invoked
<code>str()</code> on the <code>pathlib</code> object or use the accessors ending with <code>_str</code>. For example:`,gu,Qn,bu,et,Wt,vr,Fn,Ym,Io,RM="Temporary files and directories",Ju,qn,SM=`Using unique temporary files and directories are essential for parallel test running, so that the tests won’t overwrite
each other’s data. Also we want to get the temporary files and directories removed at the end of each test that created
them. Therefore, using packages like <code>tempfile</code>, which address these needs is essential.`,Cu,Yn,LM=`However, when debugging tests, you need to be able to see what goes into the temporary file or directory and you want
to know it’s exact path and not having it randomized on every test re-run.`,_u,Kn,AM=`A helper class <code>transformers.test_utils.TestCasePlus</code> is best used for such purposes. It’s a sub-class of
<code>unittest.TestCase</code>, so we can easily inherit from it in the test modules.`,ju,Dn,EM="Here is an example of its usage:",xu,On,ku,ti,WM="This code creates a unique temporary directory, and sets <code>tmp_dir</code> to its location.",Uu,ei,PM="<li>Create a unique temporary dir:</li>",Iu,si,Zu,li,QM=`<code>tmp_dir</code> will contain the path to the created temporary dir. It will be automatically removed at the end of the
test.`,Hu,ni,FM="<li>Create a temporary dir of my choice, ensure it’s empty before the test starts and don’t empty it after the test.</li>",Gu,ii,Xu,ai,qM=`This is useful for debug when you want to monitor a specific directory and want to make sure the previous tests didn’t
leave any data in there.`,Nu,oi,YM=`<li><p>You can override the default behavior by directly overriding the <code>before</code> and <code>after</code> args, leading to one of the
following behaviors:</p> <ul><li><code>before=True</code>: the temporary dir will always be cleared at the beginning of the test.</li> <li><code>before=False</code>: if the temporary dir already existed, any existing files will remain there.</li> <li><code>after=True</code>: the temporary dir will always be deleted at the end of the test.</li> <li><code>after=False</code>: the temporary dir will always be left intact at the end of the test.</li></ul></li>`,Bu,Pt,Vu,Qt,zu,st,Ft,$r,ri,Km,Zo,KM="Temporary sys.path override",Ru,pi,DM=`If you need to temporary override <code>sys.path</code> to import from another test for example, you can use the
<code>ExtendSysPath</code> context manager. Example:`,Su,hi,Lu,lt,qt,Tr,di,Dm,Ho,OM="Skipping tests",Au,ui,tv=`This is useful when a bug is found and a new test is written, yet the bug is not fixed yet. In order to be able to
commit it to the main repository we need make sure it’s skipped during <code>make test</code>.`,Eu,ci,ev="Methods:",Wu,fi,sv=`<li><p>A <strong>skip</strong> means that you expect your test to pass only if some conditions are met, otherwise pytest should skip
running the test altogether. Common examples are skipping windows-only tests on non-windows platforms, or skipping
tests that depend on an external resource which is not available at the moment (for example a database).</p></li> <li><p>A <strong>xfail</strong> means that you expect a test to fail for some reason. A common example is a test for a feature not yet
implemented, or a bug not yet fixed. When a test passes despite being expected to fail (marked with
pytest.mark.xfail), it’s an xpass and will be reported in the test summary.</p></li>`,Pu,mi,lv=`One of the important differences between the two is that <code>skip</code> doesn’t run the test, and <code>xfail</code> does. So if the
code that’s buggy causes some bad state that will affect other tests, do not use <code>xfail</code>.`,Qu,nt,Yt,gr,wi,Om,Go,nv="Implementation",Fu,yi,iv="<li>Here is how to skip whole test unconditionally:</li>",qu,Mi,Yu,vi,av="or via pytest:",Ku,$i,Du,Ti,ov="or the <code>xfail</code> way:",Ou,gi,tc,bi,rv="<li>Here is how to skip a test based on some internal check inside the test:</li>",ec,Ji,sc,Ci,pv="or the whole module:",lc,_i,nc,ji,hv="or the <code>xfail</code> way:",ic,xi,ac,ki,dv="<li>Here is how to skip all tests in a module if some import is missing:</li>",oc,Ui,rc,Ii,uv="<li>Skip a test based on a condition:</li>",pc,Zi,hc,Hi,cv="or:",dc,Gi,uc,Xi,fv="or skip the whole module:",cc,Ni,fc,Bi,mv='More details, example and ways are <a href="https://docs.pytest.org/en/latest/skipping.html" rel="nofollow">here</a>.',mc,it,Kt,br,Vi,tw,Xo,wv="Slow tests",wc,zi,yv=`The library of tests is ever-growing, and some of the tests take minutes to run, therefore we can’t afford waiting for
an hour for the test suite to complete on CI. Therefore, with some exceptions for essential tests, slow tests should be
marked as in the example below:`,yc,Ri,Mc,Si,Mv="Once a test is marked as <code>@slow</code>, to run such tests set <code>RUN_SLOW=1</code> env var, e.g.:",vc,Li,$c,Ai,vv=`Some decorators like <code>@parameterized</code> rewrite test names, therefore <code>@slow</code> and the rest of the skip decorators
<code>@require_*</code> have to be listed last for them to work correctly. Here is an example of the correct usage:`,Tc,Ei,gc,Wi,$v=`As explained at the beginning of this document, slow tests get to run on a scheduled basis, rather than in PRs CI
checks. So it’s possible that some problems will be missed during a PR submission and get merged. Such problems will
get caught during the next scheduled CI job. But it also means that it’s important to run the slow tests on your
machine before submitting the PR.`,bc,Pi,Tv="Here is a rough decision making mechanism for choosing which tests should be marked as slow:",Jc,Qi,gv=`If the test is focused on one of the library’s internal components (e.g., modeling files, tokenization files,
pipelines), then we should run that test in the non-slow test suite. If it’s focused on an other aspect of the library,
such as the documentation or the examples, then we should run these tests in the slow test suite. And then, to refine
this approach we should have exceptions:`,Cc,Fi,bv=`<li>All tests that need to download a heavy set of weights or a dataset that is larger than ~50MB (e.g., model or
tokenizer integration tests, pipeline integration tests) should be set to slow. If you’re adding a new model, you
should create and upload to the hub a tiny version of it (with random weights) for integration tests. This is
discussed in the following paragraphs.</li> <li>All tests that need to do a training not specifically optimized to be fast should be set to slow.</li> <li>We can introduce exceptions if some of these should-be-non-slow tests are excruciatingly slow, and set them to
<code>@slow</code>. Auto-modeling tests, which save and load large files to disk, are a good example of tests that are marked
as <code>@slow</code>.</li> <li>If a test completes under 1 second on CI (including downloads if any) then it should be a normal test regardless.</li>`,_c,qi,Jv=`Collectively, all the non-slow tests need to cover entirely the different internals, while remaining fast. For example,
a significant coverage can be achieved by testing with specially created tiny models with random weights. Such models
have the very minimal number of layers (e.g., 2), vocab size (e.g., 1000), etc. Then the <code>@slow</code> tests can use large
slow models to do qualitative testing. To see the use of these simply look for <em>tiny</em> models with:`,jc,Yi,xc,Ki,Cv=`Here is a an example of a <a href="https://github.com/huggingface/transformers/tree/main/scripts/fsmt/fsmt-make-tiny-model.py" rel="nofollow">script</a> that created the tiny model
<a href="https://huggingface.co/stas/tiny-wmt19-en-de" rel="nofollow">stas/tiny-wmt19-en-de</a>. You can easily adjust it to your specific
model’s architecture.`,kc,Di,_v=`It’s easy to measure the run-time incorrectly if for example there is an overheard of downloading a huge model, but if
you test it locally the downloaded files would be cached and thus the download time not measured. Hence check the
execution speed report in CI logs instead (the output of <code>pytest --durations=0 tests</code>).`,Uc,Oi,jv=`That report is also useful to find slow outliers that aren’t marked as such, or which need to be re-written to be fast.
If you notice that the test suite starts getting slow on CI, the top listing of this report will show the slowest
tests.`,Ic,at,Dt,Jr,ta,ew,No,xv="Testing the stdout/stderr output",Zc,ea,kv=`In order to test functions that write to <code>stdout</code> and/or <code>stderr</code>, the test can access those streams using the
<code>pytest</code>’s <a href="https://docs.pytest.org/en/latest/capture.html" rel="nofollow">capsys system</a>. Here is how this is accomplished:`,Hc,sa,Gc,la,Uv=`And, of course, most of the time, <code>stderr</code> will come as a part of an exception, so try/except has to be used in such
a case:`,Xc,na,Nc,ia,Iv="Another approach to capturing stdout is via <code>contextlib.redirect_stdout</code>:",Bc,aa,Vc,oa,Zv=`An important potential issue with capturing stdout is that it may contain <code>\\r</code> characters that in normal <code>print</code>
reset everything that has been printed so far. There is no problem with <code>pytest</code>, but with <code>pytest -s</code> these
characters get included in the buffer, so to be able to have the test run with and without <code>-s</code>, you have to make an
extra cleanup to the captured output, using <code>re.sub(r&#39;~.*\\r&#39;, &#39;&#39;, buf, 0, re.M)</code>.`,zc,ra,Hv=`But, then we have a helper context manager wrapper to automatically take care of it all, regardless of whether it has
some <code>\\r</code>’s in it or not, so it’s a simple:`,Rc,pa,Sc,ha,Gv="Here is a full test example:",Lc,da,Ac,ua,Xv="If you’d like to capture <code>stderr</code> use the <code>CaptureStderr</code> class instead:",Ec,ca,Wc,fa,Nv="If you need to capture both streams at once, use the parent <code>CaptureStd</code> class:",Pc,ma,Qc,wa,Bv=`Also, to aid debugging test issues, by default these context managers automatically replay the captured streams on exit
from the context.`,Fc,ot,Ot,Cr,ya,sw,Bo,Vv="Capturing logger stream",qc,Ma,zv="If you need to validate the output of a logger, you can use <code>CaptureLogger</code>:",Yc,va,Kc,rt,te,_r,$a,lw,Vo,Rv="Testing with environment variables",Dc,Ta,Sv=`If you want to test the impact of environment variables for a specific test you can use a helper decorator
<code>transformers.testing_utils.mockenv</code>`,Oc,ga,tf,ba,Lv=`At times an external program needs to be called, which requires setting <code>PYTHONPATH</code> in <code>os.environ</code> to include
multiple local paths. A helper class <code>transformers.test_utils.TestCasePlus</code> comes to help:`,ef,Ja,sf,Ca,Av=`Depending on whether the test file was under the <code>tests</code> test suite or <code>examples</code> it’ll correctly set up
<code>env[PYTHONPATH]</code> to include one of these two directories, and also the <code>src</code> directory to ensure the testing is
done against the current repo, and finally with whatever <code>env[PYTHONPATH]</code> was already set to before the test was
called if anything.`,lf,_a,Ev="This helper method creates a copy of the <code>os.environ</code> object, so the original remains intact.",nf,pt,ee,jr,ja,nw,zo,Wv="Getting reproducible results",af,xa,Pv=`In some situations you may want to remove randomness for your tests. To get identical reproducible results set, you
will need to fix the seed:`,of,ka,rf,ht,se,xr,Ua,iw,Ro,Qv="Debugging tests",pf,Ia,Fv="To start a debugger at the point of the warning, do this:",hf,Za,df,dt,le,kr,Ha,aw,So,qv="Working with github actions workflows",uf,Ga,Yv="To trigger a self-push workflow CI job, you must:",cf,Xa,Kv=`<li>Create a new branch on <code>transformers</code> origin (not a fork!).</li> <li>The branch name has to start with either <code>ci_</code> or <code>ci-</code> (<code>main</code> triggers it too, but we can’t do PRs on
<code>main</code>). It also gets triggered only for specific paths - you can find the up-to-date definition in case it
changed since this document has been written <a href="https://github.com/huggingface/transformers/blob/main/.github/workflows/self-push.yml" rel="nofollow">here</a> under <em>push:</em></li> <li>Create a PR from this branch.</li> <li>Then you can see the job appear <a href="https://github.com/huggingface/transformers/actions/workflows/self-push.yml" rel="nofollow">here</a>. It may not run right away if there
is a backlog.</li>`,ff,ut,ne,Ur,Na,ow,Lo,Dv="Testing Experimental CI Features",mf,Ba,Ov=`Testing CI features can be potentially problematic as it can interfere with the normal CI functioning. Therefore if a
new CI feature is to be added, it should be done as following.`,wf,Va,t$=`<li>Create a new dedicated job that tests what needs to be tested</li> <li>The new job must always succeed so that it gives us a green ✓ (details below).</li> <li>Let it run for some days to see that a variety of different PR types get to run on it (user fork branches,
non-forked branches, branches originating from github.com UI direct file edit, various forced pushes, etc. - there
are so many) while monitoring the experimental job’s logs (not the overall job green as it’s purposefully always
green)</li> <li>When it’s clear that everything is solid, then merge the new changes into existing jobs.</li>`,yf,za,e$="That way experiments on CI functionality itself won’t interfere with the normal workflow.",Mf,Ra,s$="Now how can we make the job always succeed while the new CI feature is being developed?",vf,Sa,l$=`Some CIs, like TravisCI support ignore-step-failure and will report the overall job as successful, but CircleCI and
Github Actions as of this writing don’t support that.`,$f,La,n$="So the following workaround can be used:",Tf,Aa,i$="<li><code>set +euo pipefail</code> at the beginning of the run command to suppress most potential failures in the bash script.</li> <li>the last command must be a success: <code>echo &quot;done&quot;</code> or just <code>true</code> will do</li>",gf,Ea,a$="Here is an example:",bf,Wa,Jf,Pa,o$="For simple commands you could also do:",Cf,Qa,_f,Fa,r$=`Of course, once satisfied with the results, integrate the experimental step or job with the rest of the normal jobs,
while removing <code>set +euo pipefail</code> or any other things you may have added to ensure that the experimental job doesn’t
interfere with the normal CI functioning.`,jf,qa,p$=`This whole process would have been much easier if we only could set something like <code>allow-failure</code> for the
experimental step, and let it fail without impacting the overall status of PRs. But as mentioned earlier CircleCI and
Github Actions don’t support it at the moment.`,xf,Ya,h$="You can vote for this feature and see where it is at these CI-specific threads:",kf,Ka,d$='<li><a href="https://github.com/actions/toolkit/issues/399" rel="nofollow">Github Actions:</a></li> <li><a href="https://ideas.circleci.com/ideas/CCI-I-344" rel="nofollow">CircleCI:</a></li>',Uf,Ir,If;return ie=new v({}),pe=new v({}),de=new M({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwdGVzdHMlMkYlMEFSVU5fU0xPVyUzRDElMjBweXRlc3QlMjBleGFtcGxlcyUyRg==",highlighted:`RUN_SLOW=1 pytest tests/
RUN_SLOW=1 pytest examples/`}}),ce=new v({}),fe=new v({}),Me=new M({props:{code:"cHl0ZXN0",highlighted:"pytest"}}),$e=new M({props:{code:"bWFrZSUyMHRlc3Q=",highlighted:'make <span class="hljs-built_in">test</span>'}}),ge=new M({props:{code:"cHl0aG9uJTIwLW0lMjBweXRlc3QlMjAtbiUyMGF1dG8lMjAtLWRpc3QlM0Rsb2FkZmlsZSUyMC1zJTIwLXYlMjAuJTJGdGVzdHMlMkY=",highlighted:"python -m pytest -n auto --dist=loadfile -s -v ./tests/"}}),Ce=new v({}),je=new M({props:{code:"cHl0ZXN0JTIwLS1jb2xsZWN0LW9ubHklMjAtcQ==",highlighted:"pytest --collect-only -q"}}),ke=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUyMC0tY29sbGVjdC1vbmx5JTIwLXE=",highlighted:"pytest tests/test_optimization.py --collect-only -q"}}),Ue=new v({}),Ze=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:"pytest tests/utils/test_logging.py"}}),He=new v({}),Xe=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUzQSUzQU9wdGltaXphdGlvblRlc3QlM0ElM0F0ZXN0X2FkYW1fdw==",highlighted:"pytest tests/test_optimization.py::OptimizationTest::test_adam_w"}}),ze=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUzQSUzQU9wdGltaXphdGlvblRlc3Q=",highlighted:"pytest tests/test_optimization.py::OptimizationTest"}}),Le=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weSUzQSUzQU9wdGltaXphdGlvblRlc3QlMjAtLWNvbGxlY3Qtb25seSUyMC1x",highlighted:"pytest tests/test_optimization.py::OptimizationTest --collect-only -q"}}),We=new M({props:{code:"cHl0ZXN0JTIwLWslMjBhZGFtJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:"pytest -k adam tests/test_optimization.py"}}),Fe=new M({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJub3QlMjBhZGFtJTIyJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:'pytest -k <span class="hljs-string">&quot;not adam&quot;</span> tests/test_optimization.py'}}),Ye=new M({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJhZGElMjBhbmQlMjBub3QlMjBhZGFtJTIyJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:'pytest -k <span class="hljs-string">&quot;ada and not adam&quot;</span> tests/test_optimization.py'}}),De=new M({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJ0ZXN0X2FkYW1fdyUyMG9yJTIwdGVzdF9hZGFtX3clMjIlMjB0ZXN0cyUyRnRlc3Rfb3B0aW1pemF0aW9uLnB5",highlighted:'pytest -k <span class="hljs-string">&quot;test_adam_w or test_adam_w&quot;</span> tests/test_optimization.py'}}),es=new M({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJ0ZXN0JTIwYW5kJTIwYWRhJTIyJTIwdGVzdHMlMkZ0ZXN0X29wdGltaXphdGlvbi5weQ==",highlighted:'pytest -k <span class="hljs-string">&quot;test and ada&quot;</span> tests/test_optimization.py'}}),ss=new v({}),ns=new M({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwLW0lMjBhY2NlbGVyYXRlX3Rlc3RzJTIwdGVzdHMlMkZtb2RlbHMlMkZvcHQlMkZ0ZXN0X21vZGVsaW5nX29wdC5weSUyMA==",highlighted:"RUN_SLOW=1 pytest -m accelerate_tests tests/models/opt/test_modeling_opt.py "}}),is=new v({}),os=new M({props:{code:"ciUyMiUyMiUyMiUwQVJldHVybnMlM0ElMEElMEFFeGFtcGxlJTNBJTBBJTIwJTIwJTIwJTIwJTYwJTYwJTYwcHl0aG9uJTBBJTIwJTIwJTIwJTIwJTNFJTNFJTNFJTIwaW1wb3J0JTIwdG9yY2glMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwV2hpc3Blck1vZGVsJTJDJTIwV2hpc3BlckZlYXR1cmVFeHRyYWN0b3IlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBmcm9tJTIwZGF0YXNldHMlMjBpbXBvcnQlMjBsb2FkX2RhdGFzZXQlMEElMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBtb2RlbCUyMCUzRCUyMFdoaXNwZXJNb2RlbC5mcm9tX3ByZXRyYWluZWQoJTIyb3BlbmFpJTJGd2hpc3Blci1iYXNlJTIyKSUwQSUyMCUyMCUyMCUyMCUzRSUzRSUzRSUyMGZlYXR1cmVfZXh0cmFjdG9yJTIwJTNEJTIwV2hpc3BlckZlYXR1cmVFeHRyYWN0b3IuZnJvbV9wcmV0cmFpbmVkKCUyMm9wZW5haSUyRndoaXNwZXItYmFzZSUyMiklMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBkcyUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJoZi1pbnRlcm5hbC10ZXN0aW5nJTJGbGlicmlzcGVlY2hfYXNyX2R1bW15JTIyJTJDJTIwJTIyY2xlYW4lMjIlMkMlMjBzcGxpdCUzRCUyMnZhbGlkYXRpb24lMjIpJTBBJTIwJTIwJTIwJTIwJTNFJTNFJTNFJTIwaW5wdXRzJTIwJTNEJTIwZmVhdHVyZV9leHRyYWN0b3IoZHMlNUIwJTVEJTVCJTIyYXVkaW8lMjIlNUQlNUIlMjJhcnJheSUyMiU1RCUyQyUyMHJldHVybl90ZW5zb3JzJTNEJTIycHQlMjIpJTBBJTIwJTIwJTIwJTIwJTNFJTNFJTNFJTIwaW5wdXRfZmVhdHVyZXMlMjAlM0QlMjBpbnB1dHMuaW5wdXRfZmVhdHVyZXMlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBkZWNvZGVyX2lucHV0X2lkcyUyMCUzRCUyMHRvcmNoLnRlbnNvciglNUIlNUIxJTJDJTIwMSU1RCU1RCklMjAqJTIwbW9kZWwuY29uZmlnLmRlY29kZXJfc3RhcnRfdG9rZW5faWQlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBsYXN0X2hpZGRlbl9zdGF0ZSUyMCUzRCUyMG1vZGVsKGlucHV0X2ZlYXR1cmVzJTJDJTIwZGVjb2Rlcl9pbnB1dF9pZHMlM0RkZWNvZGVyX2lucHV0X2lkcykubGFzdF9oaWRkZW5fc3RhdGUlMEElMjAlMjAlMjAlMjAlM0UlM0UlM0UlMjBsaXN0KGxhc3RfaGlkZGVuX3N0YXRlLnNoYXBlKSUwQSUyMCUyMCUyMCUyMCU1QjElMkMlMjAyJTJDJTIwNTEyJTVEJTBBJTIwJTIwJTIwJTIwJTYwJTYwJTYwJTIyJTIyJTIyJTBB",highlighted:`<span class="hljs-string">r&quot;&quot;&quot;
Returns:

Example:
    \`\`\`python
    &gt;&gt;&gt; import torch
    &gt;&gt;&gt; from transformers import WhisperModel, WhisperFeatureExtractor
    &gt;&gt;&gt; from datasets import load_dataset

    &gt;&gt;&gt; model = WhisperModel.from_pretrained(&quot;openai/whisper-base&quot;)
    &gt;&gt;&gt; feature_extractor = WhisperFeatureExtractor.from_pretrained(&quot;openai/whisper-base&quot;)
    &gt;&gt;&gt; ds = load_dataset(&quot;hf-internal-testing/librispeech_asr_dummy&quot;, &quot;clean&quot;, split=&quot;validation&quot;)
    &gt;&gt;&gt; inputs = feature_extractor(ds[0][&quot;audio&quot;][&quot;array&quot;], return_tensors=&quot;pt&quot;)
    &gt;&gt;&gt; input_features = inputs.input_features
    &gt;&gt;&gt; decoder_input_ids = torch.tensor([[1, 1]]) * model.config.decoder_start_token_id
    &gt;&gt;&gt; last_hidden_state = model(input_features, decoder_input_ids=decoder_input_ids).last_hidden_state
    &gt;&gt;&gt; list(last_hidden_state.shape)
    [1, 2, 512]
    \`\`\`&quot;&quot;&quot;</span>
`}}),ps=new M({props:{code:"cHl0ZXN0JTIwLS1kb2N0ZXN0LW1vZHVsZXMlMjAlM0NwYXRoX3RvX2ZpbGVfb3JfZGlyJTNF",highlighted:"pytest --doctest-modules &lt;path_to_file_or_dir&gt;"}}),ds=new v({}),cs=new M({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1waWNrZWQ=",highlighted:"pip install pytest-picked"}}),fs=new M({props:{code:"cHl0ZXN0JTIwLS1waWNrZWQ=",highlighted:"pytest --picked"}}),ws=new v({}),Ms=new M({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC14ZGlzdA==",highlighted:"pip install pytest-xdist"}}),Ts=new M({props:{code:"JTVCdG9vbCUzQXB5dGVzdCU1RCUwQWxvb3BvbmZhaWxyb290cyUyMCUzRCUyMHRyYW5zZm9ybWVycyUyMHRlc3Rz",highlighted:`<span class="hljs-section">[tool:pytest]</span>
<span class="hljs-attr">looponfailroots</span> = transformers tests`}}),bs=new M({props:{code:"JTVCcHl0ZXN0JTVEJTBBbG9vcG9uZmFpbHJvb3RzJTIwJTNEJTIwdHJhbnNmb3JtZXJzJTIwdGVzdHM=",highlighted:`<span class="hljs-section">[pytest]</span>
<span class="hljs-attr">looponfailroots</span> = transformers tests`}}),_s=new v({}),xs=new M({props:{code:"cHl0ZXN0JTIwKmxzJTIwLTElMjB0ZXN0cyUyRipweSUyMCU3QyUyMGdyZXAlMjAtdiUyMHRlc3RfbW9kZWxpbmcq",highlighted:'pytest *<span class="hljs-built_in">ls</span> -1 tests/*py | grep -v test_modeling*'}}),ks=new v({}),Is=new M({props:{code:"cHl0ZXN0JTIwLS1jYWNoZS1jbGVhciUyMHRlc3Rz",highlighted:"pytest --cache-clear tests"}}),Zs=new v({}),Ns=new v({}),Vs=new v({}),Rs=new M({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1mbGFrZWZpbmRlcg==",highlighted:"pip install pytest-flakefinder"}}),Ls=new M({props:{code:"cHl0ZXN0JTIwLS1mbGFrZS1maW5kZXIlMjAtLWZsYWtlLXJ1bnMlM0Q1JTIwdGVzdHMlMkZ0ZXN0X2ZhaWxpbmdfdGVzdC5weQ==",highlighted:"pytest --flake-finder --flake-runs=5 tests/test_failing_test.py"}}),kt=new Mm({props:{$$slots:{default:[WT]},$$scope:{ctx:J}}}),Ut=new Mm({props:{$$slots:{default:[PT]},$$scope:{ctx:J}}}),As=new v({}),Es=new M({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1yYW5kb20tb3JkZXI=",highlighted:"pip install pytest-random-order"}}),Qs=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMEElNUIuLi4lNUQlMEFVc2luZyUyMC0tcmFuZG9tLW9yZGVyLWJ1Y2tldCUzRG1vZHVsZSUwQVVzaW5nJTIwLS1yYW5kb20tb3JkZXItc2VlZCUzRDU3MzY2Mw==",highlighted:`pytest tests
[...]
Using --random-order-bucket=module
Using --random-order-seed=573663`}}),qs=new M({props:{code:"cHl0ZXN0JTIwLS1yYW5kb20tb3JkZXItc2VlZCUzRDU3MzY2MyUwQSU1Qi4uLiU1RCUwQVVzaW5nJTIwLS1yYW5kb20tb3JkZXItYnVja2V0JTNEbW9kdWxlJTBBVXNpbmclMjAtLXJhbmRvbS1vcmRlci1zZWVkJTNENTczNjYz",highlighted:`pytest --random-order-seed=573663
[...]
Using --random-order-bucket=module
Using --random-order-seed=573663`}}),Ks=new M({props:{code:"cHl0ZXN0JTIwLS1yYW5kb20tb3JkZXItYnVja2V0JTNEbm9uZSUyMHRlc3RzJTJGdGVzdF9hLnB5JTIwdGVzdHMlMkZ0ZXN0X2MucHklMjB0ZXN0cyUyRnRlc3RfYi5weQ==",highlighted:"pytest --random-order-bucket=none tests/test_a.py tests/test_c.py tests/test_b.py"}}),Os=new M({props:{code:"cHl0ZXN0JTIwLS1yYW5kb20tb3JkZXItYnVja2V0JTNEbm9uZQ==",highlighted:"pytest --random-order-bucket=none"}}),sl=new v({}),ll=new v({}),il=new M({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1zdWdhcg==",highlighted:"pip install pytest-sugar"}}),ol=new M({props:{code:"cHl0ZXN0JTIwLXAlMjBubyUzQXN1Z2Fy",highlighted:"pytest -p no:sugar"}}),pl=new v({}),dl=new M({props:{code:"cHl0ZXN0JTIwLS1wc3BlYyUyMHRlc3RzJTJGdGVzdF9vcHRpbWl6YXRpb24ucHk=",highlighted:"pytest --pspec tests/test_optimization.py"}}),ul=new v({}),fl=new M({props:{code:"cGlwJTIwaW5zdGFsbCUyMHB5dGVzdC1pbnN0YWZhaWw=",highlighted:"pip install pytest-instafail"}}),ml=new M({props:{code:"cHl0ZXN0JTIwLS1pbnN0YWZhaWw=",highlighted:"pytest --instafail"}}),wl=new v({}),Ml=new M({props:{code:"Q1VEQV9WSVNJQkxFX0RFVklDRVMlM0QlMjIlMjIlMjBweXRlc3QlMjB0ZXN0cyUyRnV0aWxzJTJGdGVzdF9sb2dnaW5nLnB5",highlighted:'CUDA_VISIBLE_DEVICES=<span class="hljs-string">&quot;&quot;</span> pytest tests/utils/test_logging.py'}}),$l=new M({props:{code:"Q1VEQV9WSVNJQkxFX0RFVklDRVMlM0QlMjIxJTIyJTIwcHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:'CUDA_VISIBLE_DEVICES=<span class="hljs-string">&quot;1&quot;</span> pytest tests/utils/test_logging.py'}}),jl=new M({props:{code:"JTQwcmVxdWlyZV90b3JjaF9tdWx0aV9ncHUlMEFkZWYlMjB0ZXN0X2V4YW1wbGVfd2l0aF9tdWx0aV9ncHUoKSUzQQ==",highlighted:`<span class="hljs-meta">@require_torch_multi_gpu</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_example_with_multi_gpu</span>():`}}),kl=new M({props:{code:"JTQwcmVxdWlyZV90ZiUwQWRlZiUyMHRlc3RfdGZfdGhpbmdfd2l0aF90ZW5zb3JmbG93KCklM0E=",highlighted:`<span class="hljs-meta">@require_tf</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_tf_thing_with_tensorflow</span>():`}}),Il=new M({props:{code:"JTQwcmVxdWlyZV90b3JjaF9ncHUlMEElNDBzbG93JTBBZGVmJTIwdGVzdF9leGFtcGxlX3Nsb3dfb25fZ3B1KCklM0E=",highlighted:`<span class="hljs-meta">@require_torch_gpu</span>
<span class="hljs-meta">@slow</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_example_slow_on_gpu</span>():`}}),Hl=new M({props:{code:"JTQwcGFyYW1ldGVyaXplZC5leHBhbmQoLi4uKSUwQSU0MHJlcXVpcmVfdG9yY2hfbXVsdGlfZ3B1JTBBZGVmJTIwdGVzdF9pbnRlZ3JhdGlvbl9mb28oKSUzQQ==",highlighted:`<span class="hljs-meta">@parameterized.expand(<span class="hljs-params">...</span>)</span>
<span class="hljs-meta">@require_torch_multi_gpu</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_integration_foo</span>():`}}),Bl=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwZ2V0X2dwdV9jb3VudCUwQSUwQW5fZ3B1JTIwJTNEJTIwZ2V0X2dwdV9jb3VudCgpJTIwJTIwJTIzJTIwd29ya3MlMjB3aXRoJTIwdG9yY2glMjBhbmQlMjB0Zg==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> get_gpu_count

n_gpu = get_gpu_count()  <span class="hljs-comment"># works with torch and tf</span>`}}),Vl=new v({}),Rl=new M({props:{code:"VFJBTlNGT1JNRVJTX1RFU1RfREVWSUNFJTNEJTIyY3B1JTIyJTIwcHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:'TRANSFORMERS_TEST_DEVICE=<span class="hljs-string">&quot;cpu&quot;</span> pytest tests/utils/test_logging.py'}}),Al=new M({props:{code:"VFJBTlNGT1JNRVJTX1RFU1RfQkFDS0VORCUzRCUyMnRvcmNoX25wdSUyMiUyMHB5dGVzdCUyMHRlc3RzJTJGdXRpbHMlMkZ0ZXN0X2xvZ2dpbmcucHk=",highlighted:'TRANSFORMERS_TEST_BACKEND=<span class="hljs-string">&quot;torch_npu&quot;</span> pytest tests/utils/test_logging.py'}}),El=new v({}),Yl=new M({props:{code:"Q1VEQV9WSVNJQkxFX0RFVklDRVMlM0QwJTJDMSUyMFJVTl9TTE9XJTNEMSUyMHB5dGVzdCUyMC1zdiUyMHRlc3RzJTJGdGVzdF90cmFpbmVyX2Rpc3RyaWJ1dGVkLnB5",highlighted:"CUDA_VISIBLE_DEVICES=0,1 RUN_SLOW=1 pytest -sv tests/test_trainer_distributed.py"}}),Kl=new v({}),tn=new M({props:{code:"cHl0ZXN0JTIwLXMlMjB0ZXN0cyUyRnV0aWxzJTJGdGVzdF9sb2dnaW5nLnB5",highlighted:"pytest -s tests/utils/test_logging.py"}}),sn=new M({props:{code:"cHkudGVzdCUyMHRlc3RzJTIwLS1qdW5pdHhtbCUzRHJlc3VsdC54bWw=",highlighted:"py.test tests --junitxml=result.xml"}}),ln=new v({}),an=new M({props:{code:"cHl0ZXN0JTIwLS1jb2xvciUzRG5vJTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weQ==",highlighted:"pytest --color=no tests/utils/test_logging.py"}}),on=new v({}),pn=new M({props:{code:"cHl0ZXN0JTIwLS1wYXN0ZWJpbiUzRGZhaWxlZCUyMHRlc3RzJTJGdXRpbHMlMkZ0ZXN0X2xvZ2dpbmcucHk=",highlighted:"pytest --pastebin=failed tests/utils/test_logging.py"}}),un=new M({props:{code:"cHl0ZXN0JTIwLS1wYXN0ZWJpbiUzRGFsbCUyMHRlc3RzJTJGdXRpbHMlMkZ0ZXN0X2xvZ2dpbmcucHk=",highlighted:"pytest --pastebin=all tests/utils/test_logging.py"}}),cn=new v({}),wn=new v({}),Mn=new M({props:{code:"JTIzJTIwdGVzdF90aGlzMS5weSUwQWltcG9ydCUyMHVuaXR0ZXN0JTBBZnJvbSUyMHBhcmFtZXRlcml6ZWQlMjBpbXBvcnQlMjBwYXJhbWV0ZXJpemVkJTBBJTBBJTBBY2xhc3MlMjBUZXN0TWF0aFVuaXRUZXN0KHVuaXR0ZXN0LlRlc3RDYXNlKSUzQSUwQSUyMCUyMCUyMCUyMCU0MHBhcmFtZXRlcml6ZWQuZXhwYW5kKCUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCU1QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCglMjJuZWdhdGl2ZSUyMiUyQyUyMC0xLjUlMkMlMjAtMi4wKSUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCglMjJpbnRlZ2VyJTIyJTJDJTIwMSUyQyUyMDEuMCklMkMlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAoJTIybGFyZ2UlMjBmcmFjdGlvbiUyMiUyQyUyMDEuNiUyQyUyMDEpJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTVEJTBBJTIwJTIwJTIwJTIwKSUwQSUyMCUyMCUyMCUyMGRlZiUyMHRlc3RfZmxvb3Ioc2VsZiUyQyUyMG5hbWUlMkMlMjBpbnB1dCUyQyUyMGV4cGVjdGVkKSUzQSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGFzc2VydF9lcXVhbChtYXRoLmZsb29yKGlucHV0KSUyQyUyMGV4cGVjdGVkKQ==",highlighted:`<span class="hljs-comment"># test_this1.py</span>
<span class="hljs-keyword">import</span> unittest
<span class="hljs-keyword">from</span> parameterized <span class="hljs-keyword">import</span> parameterized


<span class="hljs-keyword">class</span> <span class="hljs-title class_">TestMathUnitTest</span>(unittest.TestCase):
<span class="hljs-meta">    @parameterized.expand(<span class="hljs-params">
        [
            (<span class="hljs-params"><span class="hljs-string">&quot;negative&quot;</span>, -<span class="hljs-number">1.5</span>, -<span class="hljs-number">2.0</span></span>),
            (<span class="hljs-params"><span class="hljs-string">&quot;integer&quot;</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1.0</span></span>),
            (<span class="hljs-params"><span class="hljs-string">&quot;large fraction&quot;</span>, <span class="hljs-number">1.6</span>, <span class="hljs-number">1</span></span>),
        ]
    </span>)</span>
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_floor</span>(<span class="hljs-params">self, name, <span class="hljs-built_in">input</span>, expected</span>):
        assert_equal(math.floor(<span class="hljs-built_in">input</span>), expected)`}}),Tn=new M({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJuZWdhdGl2ZSUyMGFuZCUyMGludGVnZXIlMjIlMjB0ZXN0cyUyRnRlc3RfbXl0ZXN0LnB5",highlighted:'pytest -k <span class="hljs-string">&quot;negative and integer&quot;</span> tests/test_mytest.py'}}),bn=new M({props:{code:"cHl0ZXN0JTIwLWslMjAlMjJub3QlMjBuZWdhdGl2ZSUyMiUyMHRlc3RzJTJGdGVzdF9teXRlc3QucHk=",highlighted:'pytest -k <span class="hljs-string">&quot;not negative&quot;</span> tests/test_mytest.py'}}),Cn=new M({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMS5weSUyMC0tY29sbGVjdC1vbmx5JTIwLXE=",highlighted:"pytest test_this1.py --collect-only -q"}}),jn=new M({props:{code:"dGVzdF90aGlzMS5weSUzQSUzQVRlc3RNYXRoVW5pdFRlc3QlM0ElM0F0ZXN0X2Zsb29yXzBfbmVnYXRpdmUlMEF0ZXN0X3RoaXMxLnB5JTNBJTNBVGVzdE1hdGhVbml0VGVzdCUzQSUzQXRlc3RfZmxvb3JfMV9pbnRlZ2VyJTBBdGVzdF90aGlzMS5weSUzQSUzQVRlc3RNYXRoVW5pdFRlc3QlM0ElM0F0ZXN0X2Zsb29yXzJfbGFyZ2VfZnJhY3Rpb24=",highlighted:`test_this1.py::TestMathUnitTest::test_floor_0_negative
test_this1.py::TestMathUnitTest::test_floor_1_integer
test_this1.py::TestMathUnitTest::test_floor_2_large_fraction`}}),kn=new M({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMS5weSUzQSUzQVRlc3RNYXRoVW5pdFRlc3QlM0ElM0F0ZXN0X2Zsb29yXzBfbmVnYXRpdmUlMjAlMjB0ZXN0X3RoaXMxLnB5JTNBJTNBVGVzdE1hdGhVbml0VGVzdCUzQSUzQXRlc3RfZmxvb3JfMV9pbnRlZ2Vy",highlighted:"pytest test_this1.py::TestMathUnitTest::test_floor_0_negative  test_this1.py::TestMathUnitTest::test_floor_1_integer"}}),Hn=new M({props:{code:"JTIzJTIwdGVzdF90aGlzMi5weSUwQWltcG9ydCUyMHB5dGVzdCUwQSUwQSUwQSU0MHB5dGVzdC5tYXJrLnBhcmFtZXRyaXplKCUwQSUyMCUyMCUyMCUyMCUyMm5hbWUlMkMlMjBpbnB1dCUyQyUyMGV4cGVjdGVkJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTVCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwKCUyMm5lZ2F0aXZlJTIyJTJDJTIwLTEuNSUyQyUyMC0yLjApJTJDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwKCUyMmludGVnZXIlMjIlMkMlMjAxJTJDJTIwMS4wKSUyQyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCglMjJsYXJnZSUyMGZyYWN0aW9uJTIyJTJDJTIwMS42JTJDJTIwMSklMkMlMEElMjAlMjAlMjAlMjAlNUQlMkMlMEEpJTBBZGVmJTIwdGVzdF9mbG9vcihuYW1lJTJDJTIwaW5wdXQlMkMlMjBleHBlY3RlZCklM0ElMEElMjAlMjAlMjAlMjBhc3NlcnRfZXF1YWwobWF0aC5mbG9vcihpbnB1dCklMkMlMjBleHBlY3RlZCk=",highlighted:`<span class="hljs-comment"># test_this2.py</span>
<span class="hljs-keyword">import</span> pytest


<span class="hljs-meta">@pytest.mark.parametrize(<span class="hljs-params">
    <span class="hljs-string">&quot;name, input, expected&quot;</span>,
    [
        (<span class="hljs-params"><span class="hljs-string">&quot;negative&quot;</span>, -<span class="hljs-number">1.5</span>, -<span class="hljs-number">2.0</span></span>),
        (<span class="hljs-params"><span class="hljs-string">&quot;integer&quot;</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1.0</span></span>),
        (<span class="hljs-params"><span class="hljs-string">&quot;large fraction&quot;</span>, <span class="hljs-number">1.6</span>, <span class="hljs-number">1</span></span>),
    ],
</span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_floor</span>(<span class="hljs-params">name, <span class="hljs-built_in">input</span>, expected</span>):
    assert_equal(math.floor(<span class="hljs-built_in">input</span>), expected)`}}),Xn=new M({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMi5weSUyMC0tY29sbGVjdC1vbmx5JTIwLXE=",highlighted:"pytest test_this2.py --collect-only -q"}}),Bn=new M({props:{code:"dGVzdF90aGlzMi5weSUzQSUzQXRlc3RfZmxvb3IlNUJpbnRlZ2VyLTEtMS4wJTVEJTBBdGVzdF90aGlzMi5weSUzQSUzQXRlc3RfZmxvb3IlNUJuZWdhdGl2ZS0tMS41LS0yLjAlNUQlMEF0ZXN0X3RoaXMyLnB5JTNBJTNBdGVzdF9mbG9vciU1QmxhcmdlJTIwZnJhY3Rpb24tMS42LTElNUQ=",highlighted:`test_this2.py::test_floor[integer-1-1.0]
test_this2.py::test_floor[negative--1.5--2.0]
test_this2.py::test_floor[large fraction-1.6-1]`}}),zn=new M({props:{code:"cHl0ZXN0JTIwdGVzdF90aGlzMi5weSUzQSUzQXRlc3RfZmxvb3IlNUJuZWdhdGl2ZS0tMS41LS0yLjAlNUQlMjB0ZXN0X3RoaXMyLnB5JTNBJTNBdGVzdF9mbG9vciU1QmludGVnZXItMS0xLjAlNUQ=",highlighted:"pytest test_this2.py::test_floor[negative--1.5--2.0] test_this2.py::test_floor[integer-1-1.0]"}}),Sn=new v({}),Wn=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBQYXRoRXhhbXBsZVRlc3QoVGVzdENhc2VQbHVzKSUzQSUwQSUyMCUyMCUyMCUyMGRlZiUyMHRlc3Rfc29tZXRoaW5nX2ludm9sdmluZ19sb2NhbF9sb2NhdGlvbnMoc2VsZiklM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBkYXRhX2RpciUyMCUzRCUyMHNlbGYudGVzdHNfZGlyJTIwJTJGJTIwJTIyZml4dHVyZXMlMkZ0ZXN0c19zYW1wbGVzJTJGd210X2VuX3JvJTIy",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">PathExampleTest</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_something_involving_local_locations</span>(<span class="hljs-params">self</span>):
        data_dir = self.tests_dir / <span class="hljs-string">&quot;fixtures/tests_samples/wmt_en_ro&quot;</span>`}}),Qn=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBQYXRoRXhhbXBsZVRlc3QoVGVzdENhc2VQbHVzKSUzQSUwQSUyMCUyMCUyMCUyMGRlZiUyMHRlc3Rfc29tZXRoaW5nX2ludm9sdmluZ19zdHJpbmdpZmllZF9sb2NhdGlvbnMoc2VsZiklM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBleGFtcGxlc19kaXIlMjAlM0QlMjBzZWxmLmV4YW1wbGVzX2Rpcl9zdHI=",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">PathExampleTest</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_something_involving_stringified_locations</span>(<span class="hljs-params">self</span>):
        examples_dir = self.examples_dir_str`}}),Fn=new v({}),On=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBFeGFtcGxlc1Rlc3RzKFRlc3RDYXNlUGx1cyklM0ElMEElMjAlMjAlMjAlMjBkZWYlMjB0ZXN0X3doYXRldmVyKHNlbGYpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwdG1wX2RpciUyMCUzRCUyMHNlbGYuZ2V0X2F1dG9fcmVtb3ZlX3RtcF9kaXIoKQ==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">ExamplesTests</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_whatever</span>(<span class="hljs-params">self</span>):
        tmp_dir = self.get_auto_remove_tmp_dir()`}}),si=new M({props:{code:"ZGVmJTIwdGVzdF93aGF0ZXZlcihzZWxmKSUzQSUwQSUyMCUyMCUyMCUyMHRtcF9kaXIlMjAlM0QlMjBzZWxmLmdldF9hdXRvX3JlbW92ZV90bXBfZGlyKCk=",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_whatever</span>(<span class="hljs-params">self</span>):
    tmp_dir = self.get_auto_remove_tmp_dir()`}}),ii=new M({props:{code:"ZGVmJTIwdGVzdF93aGF0ZXZlcihzZWxmKSUzQSUwQSUyMCUyMCUyMCUyMHRtcF9kaXIlMjAlM0QlMjBzZWxmLmdldF9hdXRvX3JlbW92ZV90bXBfZGlyKCUyMi4lMkZ4eHglMjIp",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_whatever</span>(<span class="hljs-params">self</span>):
    tmp_dir = self.get_auto_remove_tmp_dir(<span class="hljs-string">&quot;./xxx&quot;</span>)`}}),Pt=new Mm({props:{$$slots:{default:[QT]},$$scope:{ctx:J}}}),Qt=new Mm({props:{$$slots:{default:[FT]},$$scope:{ctx:J}}}),ri=new v({}),hi=new M({props:{code:"aW1wb3J0JTIwb3MlMEFmcm9tJTIwdHJhbnNmb3JtZXJzLnRlc3RpbmdfdXRpbHMlMjBpbXBvcnQlMjBFeHRlbmRTeXNQYXRoJTBBJTBBYmluZGlyJTIwJTNEJTIwb3MucGF0aC5hYnNwYXRoKG9zLnBhdGguZGlybmFtZShfX2ZpbGVfXykpJTBBd2l0aCUyMEV4dGVuZFN5c1BhdGgoZiUyMiU3QmJpbmRpciU3RCUyRi4uJTIyKSUzQSUwQSUyMCUyMCUyMCUyMGZyb20lMjB0ZXN0X3RyYWluZXIlMjBpbXBvcnQlMjBUcmFpbmVySW50ZWdyYXRpb25Db21tb24lMjAlMjAlMjMlMjBub3Fh",highlighted:`<span class="hljs-keyword">import</span> os
<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> ExtendSysPath

bindir = os.path.abspath(os.path.dirname(__file__))
<span class="hljs-keyword">with</span> ExtendSysPath(<span class="hljs-string">f&quot;<span class="hljs-subst">{bindir}</span>/..&quot;</span>):
    <span class="hljs-keyword">from</span> test_trainer <span class="hljs-keyword">import</span> TrainerIntegrationCommon  <span class="hljs-comment"># noqa</span>`}}),di=new v({}),wi=new v({}),Mi=new M({props:{code:"JTQwdW5pdHRlc3Quc2tpcCglMjJ0aGlzJTIwYnVnJTIwbmVlZHMlMjB0byUyMGJlJTIwZml4ZWQlMjIpJTBBZGVmJTIwdGVzdF9mZWF0dXJlX3goKSUzQQ==",highlighted:`<span class="hljs-meta">@unittest.skip(<span class="hljs-params"><span class="hljs-string">&quot;this bug needs to be fixed&quot;</span></span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`}}),$i=new M({props:{code:"JTQwcHl0ZXN0Lm1hcmsuc2tpcChyZWFzb24lM0QlMjJ0aGlzJTIwYnVnJTIwbmVlZHMlMjB0byUyMGJlJTIwZml4ZWQlMjIp",highlighted:'<span class="hljs-meta">@pytest.mark.skip(<span class="hljs-params">reason=<span class="hljs-string">&quot;this bug needs to be fixed&quot;</span></span>)</span>'}}),gi=new M({props:{code:"JTQwcHl0ZXN0Lm1hcmsueGZhaWwlMEFkZWYlMjB0ZXN0X2ZlYXR1cmVfeCgpJTNB",highlighted:`<span class="hljs-meta">@pytest.mark.xfail</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`}}),Ji=new M({props:{code:"ZGVmJTIwdGVzdF9mZWF0dXJlX3goKSUzQSUwQSUyMCUyMCUyMCUyMGlmJTIwbm90JTIwaGFzX3NvbWV0aGluZygpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcHl0ZXN0LnNraXAoJTIydW5zdXBwb3J0ZWQlMjBjb25maWd1cmF0aW9uJTIyKQ==",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():
    <span class="hljs-keyword">if</span> <span class="hljs-keyword">not</span> has_something():
        pytest.skip(<span class="hljs-string">&quot;unsupported configuration&quot;</span>)`}}),_i=new M({props:{code:"aW1wb3J0JTIwcHl0ZXN0JTBBJTBBaWYlMjBub3QlMjBweXRlc3QuY29uZmlnLmdldG9wdGlvbiglMjItLWN1c3RvbS1mbGFnJTIyKSUzQSUwQSUyMCUyMCUyMCUyMHB5dGVzdC5za2lwKCUyMi0tY3VzdG9tLWZsYWclMjBpcyUyMG1pc3NpbmclMkMlMjBza2lwcGluZyUyMHRlc3RzJTIyJTJDJTIwYWxsb3dfbW9kdWxlX2xldmVsJTNEVHJ1ZSk=",highlighted:`<span class="hljs-keyword">import</span> pytest

<span class="hljs-keyword">if</span> <span class="hljs-keyword">not</span> pytest.config.getoption(<span class="hljs-string">&quot;--custom-flag&quot;</span>):
    pytest.skip(<span class="hljs-string">&quot;--custom-flag is missing, skipping tests&quot;</span>, allow_module_level=<span class="hljs-literal">True</span>)`}}),xi=new M({props:{code:"ZGVmJTIwdGVzdF9mZWF0dXJlX3goKSUzQSUwQSUyMCUyMCUyMCUyMHB5dGVzdC54ZmFpbCglMjJleHBlY3RlZCUyMHRvJTIwZmFpbCUyMHVudGlsJTIwYnVnJTIwWFlaJTIwaXMlMjBmaXhlZCUyMik=",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():
    pytest.xfail(<span class="hljs-string">&quot;expected to fail until bug XYZ is fixed&quot;</span>)`}}),Ui=new M({props:{code:"ZG9jdXRpbHMlMjAlM0QlMjBweXRlc3QuaW1wb3J0b3Jza2lwKCUyMmRvY3V0aWxzJTIyJTJDJTIwbWludmVyc2lvbiUzRCUyMjAuMyUyMik=",highlighted:'docutils = pytest.importorskip(<span class="hljs-string">&quot;docutils&quot;</span>, minversion=<span class="hljs-string">&quot;0.3&quot;</span>)'}}),Zi=new M({props:{code:"JTQwcHl0ZXN0Lm1hcmsuc2tpcGlmKHN5cy52ZXJzaW9uX2luZm8lMjAlM0MlMjAoMyUyQzYpJTJDJTIwcmVhc29uJTNEJTIycmVxdWlyZXMlMjBweXRob24zLjYlMjBvciUyMGhpZ2hlciUyMiklMEFkZWYlMjB0ZXN0X2ZlYXR1cmVfeCgpJTNB",highlighted:`<span class="hljs-meta">@pytest.mark.skipif(<span class="hljs-params">sys.version_info &lt; (<span class="hljs-params"><span class="hljs-number">3</span>,<span class="hljs-number">6</span></span>), reason=<span class="hljs-string">&quot;requires python3.6 or higher&quot;</span></span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`}}),Gi=new M({props:{code:"JTQwdW5pdHRlc3Quc2tpcElmKHRvcmNoX2RldmljZSUyMCUzRCUzRCUyMCUyMmNwdSUyMiUyQyUyMCUyMkNhbid0JTIwZG8lMjBoYWxmJTIwcHJlY2lzaW9uJTIyKSUwQWRlZiUyMHRlc3RfZmVhdHVyZV94KCklM0E=",highlighted:`<span class="hljs-meta">@unittest.skipIf(<span class="hljs-params">torch_device == <span class="hljs-string">&quot;cpu&quot;</span>, <span class="hljs-string">&quot;Can&#x27;t do half precision&quot;</span></span>)</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>():`}}),Ni=new M({props:{code:"JTQwcHl0ZXN0Lm1hcmsuc2tpcGlmKHN5cy5wbGF0Zm9ybSUyMCUzRCUzRCUyMCd3aW4zMiclMkMlMjByZWFzb24lM0QlMjJkb2VzJTIwbm90JTIwcnVuJTIwb24lMjB3aW5kb3dzJTIyKSUwQWNsYXNzJTIwVGVzdENsYXNzKCklM0ElMEElMjAlMjAlMjAlMjBkZWYlMjB0ZXN0X2ZlYXR1cmVfeChzZWxmKSUzQQ==",highlighted:`<span class="hljs-meta">@pytest.mark.skipif(<span class="hljs-params">sys.platform == <span class="hljs-string">&#x27;win32&#x27;</span>, reason=<span class="hljs-string">&quot;does not run on windows&quot;</span></span>)</span>
<span class="hljs-keyword">class</span> <span class="hljs-title class_">TestClass</span>():
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_feature_x</span>(<span class="hljs-params">self</span>):`}}),Vi=new v({}),Ri=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwc2xvdyUwQSU0MHNsb3clMEFkZWYlMjB0ZXN0X2ludGVncmF0aW9uX2ZvbygpJTNB",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> slow
<span class="hljs-meta">@slow</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_integration_foo</span>():`}}),Li=new M({props:{code:"UlVOX1NMT1clM0QxJTIwcHl0ZXN0JTIwdGVzdHM=",highlighted:"RUN_SLOW=1 pytest tests"}}),Ei=new M({props:{code:"JTQwcGFyYW1ldGVyaXolMjBlZC5leHBhbmQoLi4uKSUwQSU0MHNsb3clMEFkZWYlMjB0ZXN0X2ludGVncmF0aW9uX2ZvbygpJTNB",highlighted:`<span class="hljs-meta">@parameteriz ed.expand(<span class="hljs-params">...</span>)</span>
<span class="hljs-meta">@slow</span>
<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_integration_foo</span>():`}}),Yi=new M({props:{code:"Z3JlcCUyMHRpbnklMjB0ZXN0cyUyMGV4YW1wbGVz",highlighted:"grep tiny tests examples"}}),ta=new v({}),sa=new M({props:{code:"aW1wb3J0JTIwc3lzJTBBJTBBJTBBZGVmJTIwcHJpbnRfdG9fc3Rkb3V0KHMpJTNBJTBBJTIwJTIwJTIwJTIwcHJpbnQocyklMEElMEElMEFkZWYlMjBwcmludF90b19zdGRlcnIocyklM0ElMEElMjAlMjAlMjAlMjBzeXMuc3RkZXJyLndyaXRlKHMpJTBBJTBBJTBBZGVmJTIwdGVzdF9yZXN1bHRfYW5kX3N0ZG91dChjYXBzeXMpJTNBJTBBJTIwJTIwJTIwJTIwbXNnJTIwJTNEJTIwJTIySGVsbG8lMjIlMEElMjAlMjAlMjAlMjBwcmludF90b19zdGRvdXQobXNnKSUwQSUyMCUyMCUyMCUyMHByaW50X3RvX3N0ZGVycihtc2cpJTBBJTIwJTIwJTIwJTIwb3V0JTJDJTIwZXJyJTIwJTNEJTIwY2Fwc3lzLnJlYWRvdXRlcnIoKSUyMCUyMCUyMyUyMGNvbnN1bWUlMjB0aGUlMjBjYXB0dXJlZCUyMG91dHB1dCUyMHN0cmVhbXMlMEElMjAlMjAlMjAlMjAlMjMlMjBvcHRpb25hbCUzQSUyMGlmJTIweW91JTIwd2FudCUyMHRvJTIwcmVwbGF5JTIwdGhlJTIwY29uc3VtZWQlMjBzdHJlYW1zJTNBJTBBJTIwJTIwJTIwJTIwc3lzLnN0ZG91dC53cml0ZShvdXQpJTBBJTIwJTIwJTIwJTIwc3lzLnN0ZGVyci53cml0ZShlcnIpJTBBJTIwJTIwJTIwJTIwJTIzJTIwdGVzdCUzQSUwQSUyMCUyMCUyMCUyMGFzc2VydCUyMG1zZyUyMGluJTIwb3V0JTBBJTIwJTIwJTIwJTIwYXNzZXJ0JTIwbXNnJTIwaW4lMjBlcnI=",highlighted:`<span class="hljs-keyword">import</span> sys


<span class="hljs-keyword">def</span> <span class="hljs-title function_">print_to_stdout</span>(<span class="hljs-params">s</span>):
    <span class="hljs-built_in">print</span>(s)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">print_to_stderr</span>(<span class="hljs-params">s</span>):
    sys.stderr.write(s)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_result_and_stdout</span>(<span class="hljs-params">capsys</span>):
    msg = <span class="hljs-string">&quot;Hello&quot;</span>
    print_to_stdout(msg)
    print_to_stderr(msg)
    out, err = capsys.readouterr()  <span class="hljs-comment"># consume the captured output streams</span>
    <span class="hljs-comment"># optional: if you want to replay the consumed streams:</span>
    sys.stdout.write(out)
    sys.stderr.write(err)
    <span class="hljs-comment"># test:</span>
    <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> out
    <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> err`}}),na=new M({props:{code:"ZGVmJTIwcmFpc2VfZXhjZXB0aW9uKG1zZyklM0ElMEElMjAlMjAlMjAlMjByYWlzZSUyMFZhbHVlRXJyb3IobXNnKSUwQSUwQSUwQWRlZiUyMHRlc3Rfc29tZXRoaW5nX2V4Y2VwdGlvbigpJTNBJTBBJTIwJTIwJTIwJTIwbXNnJTIwJTNEJTIwJTIyTm90JTIwYSUyMGdvb2QlMjB2YWx1ZSUyMiUwQSUyMCUyMCUyMCUyMGVycm9yJTIwJTNEJTIwJTIyJTIyJTBBJTIwJTIwJTIwJTIwdHJ5JTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcmFpc2VfZXhjZXB0aW9uKG1zZyklMEElMjAlMjAlMjAlMjBleGNlcHQlMjBFeGNlcHRpb24lMjBhcyUyMGUlM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlcnJvciUyMCUzRCUyMHN0cihlKSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGFzc2VydCUyMG1zZyUyMGluJTIwZXJyb3IlMkMlMjBmJTIyJTdCbXNnJTdEJTIwaXMlMjBpbiUyMHRoZSUyMGV4Y2VwdGlvbiUzQSU1Q24lN0JlcnJvciU3RCUyMg==",highlighted:`<span class="hljs-keyword">def</span> <span class="hljs-title function_">raise_exception</span>(<span class="hljs-params">msg</span>):
    <span class="hljs-keyword">raise</span> ValueError(msg)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_something_exception</span>():
    msg = <span class="hljs-string">&quot;Not a good value&quot;</span>
    error = <span class="hljs-string">&quot;&quot;</span>
    <span class="hljs-keyword">try</span>:
        raise_exception(msg)
    <span class="hljs-keyword">except</span> Exception <span class="hljs-keyword">as</span> e:
        error = <span class="hljs-built_in">str</span>(e)
        <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> error, <span class="hljs-string">f&quot;<span class="hljs-subst">{msg}</span> is in the exception:\\n<span class="hljs-subst">{error}</span>&quot;</span>`}}),aa=new M({props:{code:"ZnJvbSUyMGlvJTIwaW1wb3J0JTIwU3RyaW5nSU8lMEFmcm9tJTIwY29udGV4dGxpYiUyMGltcG9ydCUyMHJlZGlyZWN0X3N0ZG91dCUwQSUwQSUwQWRlZiUyMHByaW50X3RvX3N0ZG91dChzKSUzQSUwQSUyMCUyMCUyMCUyMHByaW50KHMpJTBBJTBBJTBBZGVmJTIwdGVzdF9yZXN1bHRfYW5kX3N0ZG91dCgpJTNBJTBBJTIwJTIwJTIwJTIwbXNnJTIwJTNEJTIwJTIySGVsbG8lMjIlMEElMjAlMjAlMjAlMjBidWZmZXIlMjAlM0QlMjBTdHJpbmdJTygpJTBBJTIwJTIwJTIwJTIwd2l0aCUyMHJlZGlyZWN0X3N0ZG91dChidWZmZXIpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcHJpbnRfdG9fc3Rkb3V0KG1zZyklMEElMjAlMjAlMjAlMjBvdXQlMjAlM0QlMjBidWZmZXIuZ2V0dmFsdWUoKSUwQSUyMCUyMCUyMCUyMCUyMyUyMG9wdGlvbmFsJTNBJTIwaWYlMjB5b3UlMjB3YW50JTIwdG8lMjByZXBsYXklMjB0aGUlMjBjb25zdW1lZCUyMHN0cmVhbXMlM0ElMEElMjAlMjAlMjAlMjBzeXMuc3Rkb3V0LndyaXRlKG91dCklMEElMjAlMjAlMjAlMjAlMjMlMjB0ZXN0JTNBJTBBJTIwJTIwJTIwJTIwYXNzZXJ0JTIwbXNnJTIwaW4lMjBvdXQ=",highlighted:`<span class="hljs-keyword">from</span> io <span class="hljs-keyword">import</span> StringIO
<span class="hljs-keyword">from</span> contextlib <span class="hljs-keyword">import</span> redirect_stdout


<span class="hljs-keyword">def</span> <span class="hljs-title function_">print_to_stdout</span>(<span class="hljs-params">s</span>):
    <span class="hljs-built_in">print</span>(s)


<span class="hljs-keyword">def</span> <span class="hljs-title function_">test_result_and_stdout</span>():
    msg = <span class="hljs-string">&quot;Hello&quot;</span>
    buffer = StringIO()
    <span class="hljs-keyword">with</span> redirect_stdout(buffer):
        print_to_stdout(msg)
    out = buffer.getvalue()
    <span class="hljs-comment"># optional: if you want to replay the consumed streams:</span>
    sys.stdout.write(out)
    <span class="hljs-comment"># test:</span>
    <span class="hljs-keyword">assert</span> msg <span class="hljs-keyword">in</span> out`}}),pa=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZG91dCUwQSUwQXdpdGglMjBDYXB0dXJlU3Rkb3V0KCklMjBhcyUyMGNzJTNBJTBBJTIwJTIwJTIwJTIwZnVuY3Rpb25fdGhhdF93cml0ZXNfdG9fc3Rkb3V0KCklMEFwcmludChjcy5vdXQp",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStdout

<span class="hljs-keyword">with</span> CaptureStdout() <span class="hljs-keyword">as</span> cs:
    function_that_writes_to_stdout()
<span class="hljs-built_in">print</span>(cs.out)`}}),da=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZG91dCUwQSUwQW1zZyUyMCUzRCUyMCUyMlNlY3JldCUyMG1lc3NhZ2UlNUNyJTIyJTBBZmluYWwlMjAlM0QlMjAlMjJIZWxsbyUyMFdvcmxkJTIyJTBBd2l0aCUyMENhcHR1cmVTdGRvdXQoKSUyMGFzJTIwY3MlM0ElMEElMjAlMjAlMjAlMjBwcmludChtc2clMjAlMkIlMjBmaW5hbCklMEFhc3NlcnQlMjBjcy5vdXQlMjAlM0QlM0QlMjBmaW5hbCUyMCUyQiUyMCUyMiU1Q24lMjIlMkMlMjBmJTIyY2FwdHVyZWQlM0ElMjAlN0Jjcy5vdXQlN0QlMkMlMjBleHBlY3RpbmclMjAlN0JmaW5hbCU3RCUyMg==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStdout

msg = <span class="hljs-string">&quot;Secret message\\r&quot;</span>
final = <span class="hljs-string">&quot;Hello World&quot;</span>
<span class="hljs-keyword">with</span> CaptureStdout() <span class="hljs-keyword">as</span> cs:
    <span class="hljs-built_in">print</span>(msg + final)
<span class="hljs-keyword">assert</span> cs.out == final + <span class="hljs-string">&quot;\\n&quot;</span>, <span class="hljs-string">f&quot;captured: <span class="hljs-subst">{cs.out}</span>, expecting <span class="hljs-subst">{final}</span>&quot;</span>`}}),ca=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZGVyciUwQSUwQXdpdGglMjBDYXB0dXJlU3RkZXJyKCklMjBhcyUyMGNzJTNBJTBBJTIwJTIwJTIwJTIwZnVuY3Rpb25fdGhhdF93cml0ZXNfdG9fc3RkZXJyKCklMEFwcmludChjcy5lcnIp",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStderr

<span class="hljs-keyword">with</span> CaptureStderr() <span class="hljs-keyword">as</span> cs:
    function_that_writes_to_stderr()
<span class="hljs-built_in">print</span>(cs.err)`}}),ma=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwQ2FwdHVyZVN0ZCUwQSUwQXdpdGglMjBDYXB0dXJlU3RkKCklMjBhcyUyMGNzJTNBJTBBJTIwJTIwJTIwJTIwZnVuY3Rpb25fdGhhdF93cml0ZXNfdG9fc3Rkb3V0X2FuZF9zdGRlcnIoKSUwQXByaW50KGNzLmVyciUyQyUyMGNzLm91dCk=",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureStd

<span class="hljs-keyword">with</span> CaptureStd() <span class="hljs-keyword">as</span> cs:
    function_that_writes_to_stdout_and_stderr()
<span class="hljs-built_in">print</span>(cs.err, cs.out)`}}),ya=new v({}),va=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMGxvZ2dpbmclMEFmcm9tJTIwdHJhbnNmb3JtZXJzLnRlc3RpbmdfdXRpbHMlMjBpbXBvcnQlMjBDYXB0dXJlTG9nZ2VyJTBBJTBBbXNnJTIwJTNEJTIwJTIyVGVzdGluZyUyMDElMkMlMjAyJTJDJTIwMyUyMiUwQWxvZ2dpbmcuc2V0X3ZlcmJvc2l0eV9pbmZvKCklMEFsb2dnZXIlMjAlM0QlMjBsb2dnaW5nLmdldF9sb2dnZXIoJTIydHJhbnNmb3JtZXJzLm1vZGVscy5iYXJ0LnRva2VuaXphdGlvbl9iYXJ0JTIyKSUwQXdpdGglMjBDYXB0dXJlTG9nZ2VyKGxvZ2dlciklMjBhcyUyMGNsJTNBJTBBJTIwJTIwJTIwJTIwbG9nZ2VyLmluZm8obXNnKSUwQWFzc2VydCUyMGNsLm91dCUyQyUyMG1zZyUyMCUyQiUyMCUyMiU1Q24lMjI=",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> logging
<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> CaptureLogger

msg = <span class="hljs-string">&quot;Testing 1, 2, 3&quot;</span>
logging.set_verbosity_info()
logger = logging.get_logger(<span class="hljs-string">&quot;transformers.models.bart.tokenization_bart&quot;</span>)
<span class="hljs-keyword">with</span> CaptureLogger(logger) <span class="hljs-keyword">as</span> cl:
    logger.info(msg)
<span class="hljs-keyword">assert</span> cl.out, msg + <span class="hljs-string">&quot;\\n&quot;</span>`}}),$a=new v({}),ga=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwbW9ja2VudiUwQSUwQSUwQWNsYXNzJTIwSGZBcmd1bWVudFBhcnNlclRlc3QodW5pdHRlc3QuVGVzdENhc2UpJTNBJTBBJTIwJTIwJTIwJTIwJTQwbW9ja2VudihUUkFOU0ZPUk1FUlNfVkVSQk9TSVRZJTNEJTIyZXJyb3IlMjIpJTBBJTIwJTIwJTIwJTIwZGVmJTIwdGVzdF9lbnZfb3ZlcnJpZGUoc2VsZiklM0ElMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlbnZfbGV2ZWxfc3RyJTIwJTNEJTIwb3MuZ2V0ZW52KCUyMlRSQU5TRk9STUVSU19WRVJCT1NJVFklMjIlMkMlMjBOb25lKQ==",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> mockenv


<span class="hljs-keyword">class</span> <span class="hljs-title class_">HfArgumentParserTest</span>(unittest.TestCase):
<span class="hljs-meta">    @mockenv(<span class="hljs-params">TRANSFORMERS_VERBOSITY=<span class="hljs-string">&quot;error&quot;</span></span>)</span>
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_env_override</span>(<span class="hljs-params">self</span>):
        env_level_str = os.getenv(<span class="hljs-string">&quot;TRANSFORMERS_VERBOSITY&quot;</span>, <span class="hljs-literal">None</span>)`}}),Ja=new M({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycy50ZXN0aW5nX3V0aWxzJTIwaW1wb3J0JTIwVGVzdENhc2VQbHVzJTBBJTBBJTBBY2xhc3MlMjBFbnZFeGFtcGxlVGVzdChUZXN0Q2FzZVBsdXMpJTNBJTBBJTIwJTIwJTIwJTIwZGVmJTIwdGVzdF9leHRlcm5hbF9wcm9nKHNlbGYpJTNBJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZW52JTIwJTNEJTIwc2VsZi5nZXRfZW52KCklMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjMlMjBub3clMjBjYWxsJTIwdGhlJTIwZXh0ZXJuYWwlMjBwcm9ncmFtJTJDJTIwcGFzc2luZyUyMCU2MGVudiU2MCUyMHRvJTIwaXQ=",highlighted:`<span class="hljs-keyword">from</span> transformers.testing_utils <span class="hljs-keyword">import</span> TestCasePlus


<span class="hljs-keyword">class</span> <span class="hljs-title class_">EnvExampleTest</span>(<span class="hljs-title class_ inherited__">TestCasePlus</span>):
    <span class="hljs-keyword">def</span> <span class="hljs-title function_">test_external_prog</span>(<span class="hljs-params">self</span>):
        env = self.get_env()
        <span class="hljs-comment"># now call the external program, passing \`env\` to it</span>`}}),ja=new v({}),ka=new M({props:{code:"c2VlZCUyMCUzRCUyMDQyJTBBJTBBJTIzJTIwcHl0aG9uJTIwUk5HJTBBaW1wb3J0JTIwcmFuZG9tJTBBJTBBcmFuZG9tLnNlZWQoc2VlZCklMEElMEElMjMlMjBweXRvcmNoJTIwUk5HcyUwQWltcG9ydCUyMHRvcmNoJTBBJTBBdG9yY2gubWFudWFsX3NlZWQoc2VlZCklMEF0b3JjaC5iYWNrZW5kcy5jdWRubi5kZXRlcm1pbmlzdGljJTIwJTNEJTIwVHJ1ZSUwQWlmJTIwdG9yY2guY3VkYS5pc19hdmFpbGFibGUoKSUzQSUwQSUyMCUyMCUyMCUyMHRvcmNoLmN1ZGEubWFudWFsX3NlZWRfYWxsKHNlZWQpJTBBJTBBJTIzJTIwbnVtcHklMjBSTkclMEFpbXBvcnQlMjBudW1weSUyMGFzJTIwbnAlMEElMEFucC5yYW5kb20uc2VlZChzZWVkKSUwQSUwQSUyMyUyMHRmJTIwUk5HJTBBdGYucmFuZG9tLnNldF9zZWVkKHNlZWQp",highlighted:`seed = <span class="hljs-number">42</span>

<span class="hljs-comment"># python RNG</span>
<span class="hljs-keyword">import</span> random

random.seed(seed)

<span class="hljs-comment"># pytorch RNGs</span>
<span class="hljs-keyword">import</span> torch

torch.manual_seed(seed)
torch.backends.cudnn.deterministic = <span class="hljs-literal">True</span>
<span class="hljs-keyword">if</span> torch.cuda.is_available():
    torch.cuda.manual_seed_all(seed)

<span class="hljs-comment"># numpy RNG</span>
<span class="hljs-keyword">import</span> numpy <span class="hljs-keyword">as</span> np

np.random.seed(seed)

<span class="hljs-comment"># tf RNG</span>
tf.random.set_seed(seed)`}}),Ua=new v({}),Za=new M({props:{code:"cHl0ZXN0JTIwdGVzdHMlMkZ1dGlscyUyRnRlc3RfbG9nZ2luZy5weSUyMC1XJTIwZXJyb3IlM0ElM0FVc2VyV2FybmluZyUyMC0tcGRi",highlighted:"pytest tests/utils/test_logging.py -W error::UserWarning --pdb"}}),Ha=new v({}),Na=new v({}),Wa=new M({props:{code:"LSUyMHJ1biUzQSUwQSUyMCUyMCUyMCUyMG5hbWUlM0ElMjBydW4lMjBDSSUyMGV4cGVyaW1lbnQlMEElMjAlMjAlMjAlMjBjb21tYW5kJTNBJTIwJTdDJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwc2V0JTIwJTJCZXVvJTIwcGlwZWZhaWwlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjBlY2hvJTIwJTIyc2V0dGluZyUyMHJ1bi1hbGwtZGVzcGl0ZS1hbnktZXJyb3JzLW1vZGUlMjIlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjB0aGlzX2NvbW1hbmRfd2lsbF9mYWlsJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwZWNobyUyMCUyMmJ1dCUyMGJhc2glMjBjb250aW51ZXMlMjB0byUyMHJ1biUyMiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMyUyMGVtdWxhdGUlMjBhbm90aGVyJTIwZmFpbHVyZSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGZhbHNlJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIzJTIwYnV0JTIwdGhlJTIwbGFzdCUyMGNvbW1hbmQlMjBtdXN0JTIwYmUlMjBhJTIwc3VjY2VzcyUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGVjaG8lMjAlMjJkdXJpbmclMjBleHBlcmltZW50JTIwZG8lMjBub3QlMjByZW1vdmUlM0ElMjByZXBvcnRpbmclMjBzdWNjZXNzJTIwdG8lMjBDSSUyQyUyMGV2ZW4lMjBpZiUyMHRoZXJlJTIwd2VyZSUyMGZhaWx1cmVzJTIy",highlighted:`<span class="hljs-bullet">-</span> <span class="hljs-attr">run:</span>
    <span class="hljs-attr">name:</span> <span class="hljs-string">run</span> <span class="hljs-string">CI</span> <span class="hljs-string">experiment</span>
    <span class="hljs-attr">command:</span> <span class="hljs-string">|
        set +euo pipefail
        echo &quot;setting run-all-despite-any-errors-mode&quot;
        this_command_will_fail
        echo &quot;but bash continues to run&quot;
        # emulate another failure
        false
        # but the last command must be a success
        echo &quot;during experiment do not remove: reporting success to CI, even if there were failures&quot;</span>`}}),Qa=new M({props:{code:"Y21kX3RoYXRfbWF5X2ZhaWwlMjAlN0MlN0MlMjB0cnVl",highlighted:'cmd_that_may_fail || <span class="hljs-literal">true</span>'}}),{c(){$=a("meta"),g=n(),T=a("p"),b=n(),C=a("h1"),ct=a("a"),Ao=a("span"),d(ie.$$.fragment),$m=n(),to=a("span"),to.textContent=rw,Gr=n(),ae=a("p"),ae.textContent=pw,Xr=n(),oe=a("p"),oe.textContent=hw,Nr=n(),re=a("ol"),re.innerHTML=dw,Br=n(),_=a("h2"),ft=a("a"),Eo=a("span"),d(pe.$$.fragment),Tm=n(),eo=a("span"),eo.textContent=uw,Vr=n(),he=a("ol"),he.innerHTML=cw,zr=n(),d(de.$$.fragment),Rr=n(),ue=a("p"),ue.innerHTML=fw,Sr=n(),j=a("h2"),mt=a("a"),Wo=a("span"),d(ce.$$.fragment),gm=n(),so=a("span"),so.textContent=mw,Lr=n(),x=a("h3"),wt=a("a"),Po=a("span"),d(fe.$$.fragment),bm=n(),lo=a("span"),lo.textContent=ww,Ar=n(),me=a("p"),me.innerHTML=yw,Er=n(),we=a("p"),we.textContent=Mw,Wr=n(),ye=a("p"),ye.textContent=vw,Pr=n(),d(Me.$$.fragment),Qr=n(),ve=a("p"),ve.textContent=$w,Fr=n(),d($e.$$.fragment),qr=n(),Te=a("p"),Te.textContent=Tw,Yr=n(),d(ge.$$.fragment),Kr=n(),be=a("p"),be.textContent=gw,Dr=n(),Je=a("ul"),Je.innerHTML=bw,Or=n(),k=a("h3"),yt=a("a"),Qo=a("span"),d(Ce.$$.fragment),Jm=n(),no=a("span"),no.textContent=Jw,tp=n(),_e=a("p"),_e.textContent=Cw,ep=n(),d(je.$$.fragment),sp=n(),xe=a("p"),xe.textContent=_w,lp=n(),d(ke.$$.fragment),np=n(),U=a("h3"),Mt=a("a"),Fo=a("span"),d(Ue.$$.fragment),Cm=n(),io=a("span"),io.textContent=jw,ip=n(),Ie=a("p"),Ie.textContent=xw,ap=n(),d(Ze.$$.fragment),op=n(),I=a("h3"),vt=a("a"),qo=a("span"),d(He.$$.fragment),_m=n(),ao=a("span"),ao.textContent=kw,rp=n(),Ge=a("p"),Ge.textContent=Uw,pp=n(),d(Xe.$$.fragment),hp=n(),Ne=a("p"),Ne.textContent=Iw,dp=n(),Be=a("ul"),Be.innerHTML=Zw,up=n(),Ve=a("p"),Ve.textContent=Hw,cp=n(),d(ze.$$.fragment),fp=n(),Re=a("p"),Re.textContent=Gw,mp=n(),Se=a("p"),Se.innerHTML=Xw,wp=n(),d(Le.$$.fragment),yp=n(),Ae=a("p"),Ae.textContent=Nw,Mp=n(),Ee=a("p"),Ee.innerHTML=Bw,vp=n(),d(We.$$.fragment),$p=n(),Pe=a("p"),Pe.innerHTML=Vw,Tp=n(),Qe=a("p"),Qe.innerHTML=zw,gp=n(),d(Fe.$$.fragment),bp=n(),qe=a("p"),qe.textContent=Rw,Jp=n(),d(Ye.$$.fragment),Cp=n(),Ke=a("p"),Ke.innerHTML=Sw,_p=n(),d(De.$$.fragment),jp=n(),Oe=a("p"),Oe.innerHTML=Lw,xp=n(),ts=a("p"),ts.innerHTML=Aw,kp=n(),d(es.$$.fragment),Up=n(),Z=a("h3"),$t=a("a"),Yo=a("span"),d(ss.$$.fragment),jm=n(),oo=a("span"),oo.innerHTML=Ew,Ip=n(),ls=a("p"),ls.innerHTML=Ww,Zp=n(),d(ns.$$.fragment),Hp=n(),H=a("h3"),Tt=a("a"),Ko=a("span"),d(is.$$.fragment),xm=n(),ro=a("span"),ro.textContent=Pw,Gp=n(),as=a("p"),as.innerHTML=Qw,Xp=n(),d(os.$$.fragment),Np=n(),rs=a("p"),rs.textContent=Fw,Bp=n(),d(ps.$$.fragment),Vp=n(),hs=a("p"),hs.innerHTML=qw,zp=n(),G=a("h3"),gt=a("a"),Do=a("span"),d(ds.$$.fragment),km=n(),po=a("span"),po.textContent=Yw,Rp=n(),us=a("p"),us.innerHTML=Kw,Sp=n(),d(cs.$$.fragment),Lp=n(),d(fs.$$.fragment),Ap=n(),ms=a("p"),ms.textContent=Dw,Ep=n(),X=a("h3"),bt=a("a"),Oo=a("span"),d(ws.$$.fragment),Um=n(),ho=a("span"),ho.textContent=Ow,Wp=n(),ys=a("p"),ys.innerHTML=ty,Pp=n(),d(Ms.$$.fragment),Qp=n(),vs=a("p"),vs.innerHTML=ey,Fp=n(),$s=a("p"),$s.innerHTML=sy,qp=n(),d(Ts.$$.fragment),Yp=n(),gs=a("p"),gs.innerHTML=ly,Kp=n(),d(bs.$$.fragment),Dp=n(),Js=a("p"),Js.textContent=ny,Op=n(),Cs=a("p"),Cs.innerHTML=iy,th=n(),N=a("h3"),Jt=a("a"),tr=a("span"),d(_s.$$.fragment),Im=n(),uo=a("span"),uo.textContent=ay,eh=n(),js=a("p"),js.innerHTML=oy,sh=n(),d(xs.$$.fragment),lh=n(),B=a("h3"),Ct=a("a"),er=a("span"),d(ks.$$.fragment),Zm=n(),co=a("span"),co.textContent=ry,nh=n(),Us=a("p"),Us.textContent=py,ih=n(),d(Is.$$.fragment),ah=n(),V=a("h3"),_t=a("a"),sr=a("span"),d(Zs.$$.fragment),Hm=n(),fo=a("span"),fo.textContent=hy,oh=n(),Hs=a("p"),Hs.innerHTML=dy,rh=n(),Gs=a("p"),Gs.innerHTML=uy,ph=n(),Xs=a("p"),Xs.innerHTML=cy,hh=n(),z=a("h3"),jt=a("a"),lr=a("span"),d(Ns.$$.fragment),Gm=n(),mo=a("span"),mo.textContent=fy,dh=n(),Bs=a("p"),Bs.textContent=my,uh=n(),R=a("h4"),xt=a("a"),nr=a("span"),d(Vs.$$.fragment),Xm=n(),wo=a("span"),wo.textContent=wy,ch=n(),zs=a("ul"),zs.innerHTML=yy,fh=n(),d(Rs.$$.fragment),mh=n(),Ss=a("p"),Ss.textContent=My,wh=n(),d(Ls.$$.fragment),yh=n(),d(kt.$$.fragment),Mh=n(),d(Ut.$$.fragment),vh=n(),S=a("h4"),It=a("a"),ir=a("span"),d(As.$$.fragment),Nm=n(),yo=a("span"),yo.textContent=vy,$h=n(),d(Es.$$.fragment),Th=n(),Ws=a("p"),Ws.innerHTML=$y,gh=n(),Ps=a("p"),Ps.innerHTML=Ty,bh=n(),d(Qs.$$.fragment),Jh=n(),Fs=a("p"),Fs.textContent=gy,Ch=n(),d(qs.$$.fragment),_h=n(),Ys=a("p"),Ys.innerHTML=by,jh=n(),d(Ks.$$.fragment),xh=n(),Ds=a("p"),Ds.textContent=Jy,kh=n(),d(Os.$$.fragment),Uh=n(),tl=a("p"),tl.innerHTML=Cy,Ih=n(),el=a("p"),el.innerHTML=_y,Zh=n(),L=a("h3"),Zt=a("a"),ar=a("span"),d(sl.$$.fragment),Bm=n(),Mo=a("span"),Mo.textContent=jy,Hh=n(),A=a("h4"),Ht=a("a"),or=a("span"),d(ll.$$.fragment),Vm=n(),vo=a("span"),vo.textContent=xy,Gh=n(),nl=a("p"),nl.innerHTML=ky,Xh=n(),d(il.$$.fragment),Nh=n(),al=a("p"),al.textContent=Uy,Bh=n(),d(ol.$$.fragment),Vh=n(),rl=a("p"),rl.textContent=Iy,zh=n(),E=a("h4"),Gt=a("a"),rr=a("span"),d(pl.$$.fragment),zm=n(),$o=a("span"),$o.textContent=Zy,Rh=n(),hl=a("p"),hl.innerHTML=Hy,Sh=n(),d(dl.$$.fragment),Lh=n(),W=a("h4"),Xt=a("a"),pr=a("span"),d(ul.$$.fragment),Rm=n(),To=a("span"),To.textContent=Gy,Ah=n(),cl=a("p"),cl.innerHTML=Xy,Eh=n(),d(fl.$$.fragment),Wh=n(),d(ml.$$.fragment),Ph=n(),P=a("h3"),Nt=a("a"),hr=a("span"),d(wl.$$.fragment),Sm=n(),go=a("span"),go.textContent=Ny,Qh=n(),yl=a("p"),yl.innerHTML=By,Fh=n(),d(Ml.$$.fragment),qh=n(),vl=a("p"),vl.innerHTML=Vy,Yh=n(),d($l.$$.fragment),Kh=n(),Tl=a("p"),Tl.textContent=zy,Dh=n(),gl=a("p"),gl.textContent=Ry,Oh=n(),bl=a("ul"),bl.innerHTML=Sy,td=n(),Jl=a("p"),Jl.textContent=Ly,ed=n(),Cl=a("p"),Cl.innerHTML=Ay,sd=n(),_l=a("p"),_l.textContent=Ey,ld=n(),d(jl.$$.fragment),nd=n(),xl=a("p"),xl.innerHTML=Wy,id=n(),d(kl.$$.fragment),ad=n(),Ul=a("p"),Ul.textContent=Py,od=n(),d(Il.$$.fragment),rd=n(),Zl=a("p"),Zl.innerHTML=Qy,pd=n(),d(Hl.$$.fragment),hd=n(),Gl=a("p"),Gl.innerHTML=Fy,dd=n(),Xl=a("p"),Xl.textContent=qy,ud=n(),Nl=a("ul"),Nl.innerHTML=Yy,cd=n(),d(Bl.$$.fragment),fd=n(),Q=a("h3"),Bt=a("a"),dr=a("span"),d(Vl.$$.fragment),Lm=n(),bo=a("span"),bo.textContent=Ky,md=n(),zl=a("p"),zl.innerHTML=Dy,wd=n(),d(Rl.$$.fragment),yd=n(),Sl=a("p"),Sl.innerHTML=Oy,Md=n(),Ll=a("p"),Ll.innerHTML=tM,vd=n(),d(Al.$$.fragment),$d=n(),F=a("h3"),Vt=a("a"),ur=a("span"),d(El.$$.fragment),Am=n(),Jo=a("span"),Jo.textContent=eM,Td=n(),Wl=a("p"),Wl.innerHTML=sM,gd=n(),Pl=a("p"),Pl.textContent=lM,bd=n(),Ql=a("ul"),Ql.innerHTML=nM,Jd=n(),Fl=a("p"),Fl.innerHTML=iM,Cd=n(),ql=a("p"),ql.textContent=aM,_d=n(),d(Yl.$$.fragment),jd=n(),q=a("h3"),zt=a("a"),cr=a("span"),d(Kl.$$.fragment),Em=n(),Co=a("span"),Co.textContent=oM,xd=n(),Dl=a("p"),Dl.innerHTML=rM,kd=n(),Ol=a("p"),Ol.innerHTML=pM,Ud=n(),d(tn.$$.fragment),Id=n(),en=a("p"),en.textContent=hM,Zd=n(),d(sn.$$.fragment),Hd=n(),Y=a("h3"),Rt=a("a"),fr=a("span"),d(ln.$$.fragment),Wm=n(),_o=a("span"),_o.textContent=dM,Gd=n(),nn=a("p"),nn.textContent=uM,Xd=n(),d(an.$$.fragment),Nd=n(),K=a("h3"),St=a("a"),mr=a("span"),d(on.$$.fragment),Pm=n(),jo=a("span"),jo.textContent=cM,Bd=n(),rn=a("p"),rn.textContent=fM,Vd=n(),d(pn.$$.fragment),zd=n(),hn=a("p"),hn.textContent=mM,Rd=n(),dn=a("p"),dn.textContent=wM,Sd=n(),d(un.$$.fragment),Ld=n(),D=a("h2"),Lt=a("a"),wr=a("span"),d(cn.$$.fragment),Qm=n(),xo=a("span"),xo.textContent=yM,Ad=n(),fn=a("p"),fn.innerHTML=MM,Ed=n(),mn=a("p"),mn.innerHTML=vM,Wd=n(),O=a("h3"),At=a("a"),yr=a("span"),d(wn.$$.fragment),Fm=n(),ko=a("span"),ko.textContent=$M,Pd=n(),yn=a("p"),yn.textContent=TM,Qd=n(),d(Mn.$$.fragment),Fd=n(),vn=a("p"),vn.innerHTML=gM,qd=n(),$n=a("p"),$n.innerHTML=bM,Yd=n(),d(Tn.$$.fragment),Kd=n(),gn=a("p"),gn.innerHTML=JM,Dd=n(),d(bn.$$.fragment),Od=n(),Jn=a("p"),Jn.innerHTML=CM,tu=n(),d(Cn.$$.fragment),eu=n(),_n=a("p"),_n.textContent=_M,su=n(),d(jn.$$.fragment),lu=n(),xn=a("p"),xn.textContent=jM,nu=n(),d(kn.$$.fragment),iu=n(),Un=a("p"),Un.innerHTML=xM,au=n(),In=a("p"),In.innerHTML=kM,ou=n(),Zn=a("p"),Zn.innerHTML=UM,ru=n(),d(Hn.$$.fragment),pu=n(),Gn=a("p"),Gn.innerHTML=IM,hu=n(),d(Xn.$$.fragment),du=n(),Nn=a("p"),Nn.textContent=ZM,uu=n(),d(Bn.$$.fragment),cu=n(),Vn=a("p"),Vn.textContent=HM,fu=n(),d(zn.$$.fragment),mu=n(),Rn=a("p"),Rn.textContent=GM,wu=n(),tt=a("h3"),Et=a("a"),Mr=a("span"),d(Sn.$$.fragment),qm=n(),Uo=a("span"),Uo.textContent=XM,yu=n(),Ln=a("p"),Ln.innerHTML=NM,Mu=n(),An=a("ul"),An.innerHTML=BM,vu=n(),En=a("p"),En.innerHTML=VM,$u=n(),d(Wn.$$.fragment),Tu=n(),Pn=a("p"),Pn.innerHTML=zM,gu=n(),d(Qn.$$.fragment),bu=n(),et=a("h3"),Wt=a("a"),vr=a("span"),d(Fn.$$.fragment),Ym=n(),Io=a("span"),Io.textContent=RM,Ju=n(),qn=a("p"),qn.innerHTML=SM,Cu=n(),Yn=a("p"),Yn.textContent=LM,_u=n(),Kn=a("p"),Kn.innerHTML=AM,ju=n(),Dn=a("p"),Dn.textContent=EM,xu=n(),d(On.$$.fragment),ku=n(),ti=a("p"),ti.innerHTML=WM,Uu=n(),ei=a("ul"),ei.innerHTML=PM,Iu=n(),d(si.$$.fragment),Zu=n(),li=a("p"),li.innerHTML=QM,Hu=n(),ni=a("ul"),ni.innerHTML=FM,Gu=n(),d(ii.$$.fragment),Xu=n(),ai=a("p"),ai.textContent=qM,Nu=n(),oi=a("ul"),oi.innerHTML=YM,Bu=n(),d(Pt.$$.fragment),Vu=n(),d(Qt.$$.fragment),zu=n(),st=a("h3"),Ft=a("a"),$r=a("span"),d(ri.$$.fragment),Km=n(),Zo=a("span"),Zo.textContent=KM,Ru=n(),pi=a("p"),pi.innerHTML=DM,Su=n(),d(hi.$$.fragment),Lu=n(),lt=a("h3"),qt=a("a"),Tr=a("span"),d(di.$$.fragment),Dm=n(),Ho=a("span"),Ho.textContent=OM,Au=n(),ui=a("p"),ui.innerHTML=tv,Eu=n(),ci=a("p"),ci.textContent=ev,Wu=n(),fi=a("ul"),fi.innerHTML=sv,Pu=n(),mi=a("p"),mi.innerHTML=lv,Qu=n(),nt=a("h4"),Yt=a("a"),gr=a("span"),d(wi.$$.fragment),Om=n(),Go=a("span"),Go.textContent=nv,Fu=n(),yi=a("ul"),yi.innerHTML=iv,qu=n(),d(Mi.$$.fragment),Yu=n(),vi=a("p"),vi.textContent=av,Ku=n(),d($i.$$.fragment),Du=n(),Ti=a("p"),Ti.innerHTML=ov,Ou=n(),d(gi.$$.fragment),tc=n(),bi=a("ul"),bi.innerHTML=rv,ec=n(),d(Ji.$$.fragment),sc=n(),Ci=a("p"),Ci.textContent=pv,lc=n(),d(_i.$$.fragment),nc=n(),ji=a("p"),ji.innerHTML=hv,ic=n(),d(xi.$$.fragment),ac=n(),ki=a("ul"),ki.innerHTML=dv,oc=n(),d(Ui.$$.fragment),rc=n(),Ii=a("ul"),Ii.innerHTML=uv,pc=n(),d(Zi.$$.fragment),hc=n(),Hi=a("p"),Hi.textContent=cv,dc=n(),d(Gi.$$.fragment),uc=n(),Xi=a("p"),Xi.textContent=fv,cc=n(),d(Ni.$$.fragment),fc=n(),Bi=a("p"),Bi.innerHTML=mv,mc=n(),it=a("h3"),Kt=a("a"),br=a("span"),d(Vi.$$.fragment),tw=n(),Xo=a("span"),Xo.textContent=wv,wc=n(),zi=a("p"),zi.textContent=yv,yc=n(),d(Ri.$$.fragment),Mc=n(),Si=a("p"),Si.innerHTML=Mv,vc=n(),d(Li.$$.fragment),$c=n(),Ai=a("p"),Ai.innerHTML=vv,Tc=n(),d(Ei.$$.fragment),gc=n(),Wi=a("p"),Wi.textContent=$v,bc=n(),Pi=a("p"),Pi.textContent=Tv,Jc=n(),Qi=a("p"),Qi.textContent=gv,Cc=n(),Fi=a("ul"),Fi.innerHTML=bv,_c=n(),qi=a("p"),qi.innerHTML=Jv,jc=n(),d(Yi.$$.fragment),xc=n(),Ki=a("p"),Ki.innerHTML=Cv,kc=n(),Di=a("p"),Di.innerHTML=_v,Uc=n(),Oi=a("p"),Oi.textContent=jv,Ic=n(),at=a("h3"),Dt=a("a"),Jr=a("span"),d(ta.$$.fragment),ew=n(),No=a("span"),No.textContent=xv,Zc=n(),ea=a("p"),ea.innerHTML=kv,Hc=n(),d(sa.$$.fragment),Gc=n(),la=a("p"),la.innerHTML=Uv,Xc=n(),d(na.$$.fragment),Nc=n(),ia=a("p"),ia.innerHTML=Iv,Bc=n(),d(aa.$$.fragment),Vc=n(),oa=a("p"),oa.innerHTML=Zv,zc=n(),ra=a("p"),ra.innerHTML=Hv,Rc=n(),d(pa.$$.fragment),Sc=n(),ha=a("p"),ha.textContent=Gv,Lc=n(),d(da.$$.fragment),Ac=n(),ua=a("p"),ua.innerHTML=Xv,Ec=n(),d(ca.$$.fragment),Wc=n(),fa=a("p"),fa.innerHTML=Nv,Pc=n(),d(ma.$$.fragment),Qc=n(),wa=a("p"),wa.textContent=Bv,Fc=n(),ot=a("h3"),Ot=a("a"),Cr=a("span"),d(ya.$$.fragment),sw=n(),Bo=a("span"),Bo.textContent=Vv,qc=n(),Ma=a("p"),Ma.innerHTML=zv,Yc=n(),d(va.$$.fragment),Kc=n(),rt=a("h3"),te=a("a"),_r=a("span"),d($a.$$.fragment),lw=n(),Vo=a("span"),Vo.textContent=Rv,Dc=n(),Ta=a("p"),Ta.innerHTML=Sv,Oc=n(),d(ga.$$.fragment),tf=n(),ba=a("p"),ba.innerHTML=Lv,ef=n(),d(Ja.$$.fragment),sf=n(),Ca=a("p"),Ca.innerHTML=Av,lf=n(),_a=a("p"),_a.innerHTML=Ev,nf=n(),pt=a("h3"),ee=a("a"),jr=a("span"),d(ja.$$.fragment),nw=n(),zo=a("span"),zo.textContent=Wv,af=n(),xa=a("p"),xa.textContent=Pv,of=n(),d(ka.$$.fragment),rf=n(),ht=a("h3"),se=a("a"),xr=a("span"),d(Ua.$$.fragment),iw=n(),Ro=a("span"),Ro.textContent=Qv,pf=n(),Ia=a("p"),Ia.textContent=Fv,hf=n(),d(Za.$$.fragment),df=n(),dt=a("h2"),le=a("a"),kr=a("span"),d(Ha.$$.fragment),aw=n(),So=a("span"),So.textContent=qv,uf=n(),Ga=a("p"),Ga.textContent=Yv,cf=n(),Xa=a("ol"),Xa.innerHTML=Kv,ff=n(),ut=a("h2"),ne=a("a"),Ur=a("span"),d(Na.$$.fragment),ow=n(),Lo=a("span"),Lo.textContent=Dv,mf=n(),Ba=a("p"),Ba.textContent=Ov,wf=n(),Va=a("ol"),Va.innerHTML=t$,yf=n(),za=a("p"),za.textContent=e$,Mf=n(),Ra=a("p"),Ra.textContent=s$,vf=n(),Sa=a("p"),Sa.textContent=l$,$f=n(),La=a("p"),La.textContent=n$,Tf=n(),Aa=a("ol"),Aa.innerHTML=i$,gf=n(),Ea=a("p"),Ea.textContent=a$,bf=n(),d(Wa.$$.fragment),Jf=n(),Pa=a("p"),Pa.textContent=o$,Cf=n(),d(Qa.$$.fragment),_f=n(),Fa=a("p"),Fa.innerHTML=r$,jf=n(),qa=a("p"),qa.innerHTML=p$,xf=n(),Ya=a("p"),Ya.textContent=h$,kf=n(),Ka=a("ul"),Ka.innerHTML=d$,Uf=n(),Ir=a("p"),this.h()},l(t){const s=ET("svelte-1phssyn",document.head);$=o(s,"META",{name:!0,content:!0}),s.forEach(e),g=i(t),T=o(t,"P",{}),y(T).forEach(e),b=i(t),C=o(t,"H1",{class:!0});var Da=y(C);ct=o(Da,"A",{id:!0,class:!0,href:!0});var Zr=y(ct);Ao=o(Zr,"SPAN",{});var Hr=y(Ao);u(ie.$$.fragment,Hr),Hr.forEach(e),Zr.forEach(e),$m=i(Da),to=o(Da,"SPAN",{"data-svelte-h":!0}),r(to)!=="svelte-oydbjj"&&(to.textContent=rw),Da.forEach(e),Gr=i(t),ae=o(t,"P",{"data-svelte-h":!0}),r(ae)!=="svelte-1bfeznz"&&(ae.textContent=pw),Xr=i(t),oe=o(t,"P",{"data-svelte-h":!0}),r(oe)!=="svelte-1468g91"&&(oe.textContent=hw),Nr=i(t),re=o(t,"OL",{"data-svelte-h":!0}),r(re)!=="svelte-u97aul"&&(re.innerHTML=dw),Br=i(t),_=o(t,"H2",{class:!0});var Oa=y(_);ft=o(Oa,"A",{id:!0,class:!0,href:!0});var u$=y(ft);Eo=o(u$,"SPAN",{});var c$=y(Eo);u(pe.$$.fragment,c$),c$.forEach(e),u$.forEach(e),Tm=i(Oa),eo=o(Oa,"SPAN",{"data-svelte-h":!0}),r(eo)!=="svelte-1yw6142"&&(eo.textContent=uw),Oa.forEach(e),Vr=i(t),he=o(t,"OL",{"data-svelte-h":!0}),r(he)!=="svelte-1xjbri2"&&(he.innerHTML=cw),zr=i(t),u(de.$$.fragment,t),Rr=i(t),ue=o(t,"P",{"data-svelte-h":!0}),r(ue)!=="svelte-labrlq"&&(ue.innerHTML=fw),Sr=i(t),j=o(t,"H2",{class:!0});var Zf=y(j);mt=o(Zf,"A",{id:!0,class:!0,href:!0});var f$=y(mt);Wo=o(f$,"SPAN",{});var m$=y(Wo);u(ce.$$.fragment,m$),m$.forEach(e),f$.forEach(e),gm=i(Zf),so=o(Zf,"SPAN",{"data-svelte-h":!0}),r(so)!=="svelte-1rc89vt"&&(so.textContent=mw),Zf.forEach(e),Lr=i(t),x=o(t,"H3",{class:!0});var Hf=y(x);wt=o(Hf,"A",{id:!0,class:!0,href:!0});var w$=y(wt);Po=o(w$,"SPAN",{});var y$=y(Po);u(fe.$$.fragment,y$),y$.forEach(e),w$.forEach(e),bm=i(Hf),lo=o(Hf,"SPAN",{"data-svelte-h":!0}),r(lo)!=="svelte-wbztp9"&&(lo.textContent=ww),Hf.forEach(e),Ar=i(t),me=o(t,"P",{"data-svelte-h":!0}),r(me)!=="svelte-iw7kd9"&&(me.innerHTML=yw),Er=i(t),we=o(t,"P",{"data-svelte-h":!0}),r(we)!=="svelte-19u85g2"&&(we.textContent=Mw),Wr=i(t),ye=o(t,"P",{"data-svelte-h":!0}),r(ye)!=="svelte-1cr0co4"&&(ye.textContent=vw),Pr=i(t),u(Me.$$.fragment,t),Qr=i(t),ve=o(t,"P",{"data-svelte-h":!0}),r(ve)!=="svelte-ylttvt"&&(ve.textContent=$w),Fr=i(t),u($e.$$.fragment,t),qr=i(t),Te=o(t,"P",{"data-svelte-h":!0}),r(Te)!=="svelte-1y7ruil"&&(Te.textContent=Tw),Yr=i(t),u(ge.$$.fragment,t),Kr=i(t),be=o(t,"P",{"data-svelte-h":!0}),r(be)!=="svelte-w4pavv"&&(be.textContent=gw),Dr=i(t),Je=o(t,"UL",{"data-svelte-h":!0}),r(Je)!=="svelte-1if6plt"&&(Je.innerHTML=bw),Or=i(t),k=o(t,"H3",{class:!0});var Gf=y(k);yt=o(Gf,"A",{id:!0,class:!0,href:!0});var M$=y(yt);Qo=o(M$,"SPAN",{});var v$=y(Qo);u(Ce.$$.fragment,v$),v$.forEach(e),M$.forEach(e),Jm=i(Gf),no=o(Gf,"SPAN",{"data-svelte-h":!0}),r(no)!=="svelte-4sgsvn"&&(no.textContent=Jw),Gf.forEach(e),tp=i(t),_e=o(t,"P",{"data-svelte-h":!0}),r(_e)!=="svelte-1lo9z46"&&(_e.textContent=Cw),ep=i(t),u(je.$$.fragment,t),sp=i(t),xe=o(t,"P",{"data-svelte-h":!0}),r(xe)!=="svelte-1d4pkjf"&&(xe.textContent=_w),lp=i(t),u(ke.$$.fragment,t),np=i(t),U=o(t,"H3",{class:!0});var Xf=y(U);Mt=o(Xf,"A",{id:!0,class:!0,href:!0});var $$=y(Mt);Fo=o($$,"SPAN",{});var T$=y(Fo);u(Ue.$$.fragment,T$),T$.forEach(e),$$.forEach(e),Cm=i(Xf),io=o(Xf,"SPAN",{"data-svelte-h":!0}),r(io)!=="svelte-1x9e39r"&&(io.textContent=jw),Xf.forEach(e),ip=i(t),Ie=o(t,"P",{"data-svelte-h":!0}),r(Ie)!=="svelte-5hfpb0"&&(Ie.textContent=xw),ap=i(t),u(Ze.$$.fragment,t),op=i(t),I=o(t,"H3",{class:!0});var Nf=y(I);vt=o(Nf,"A",{id:!0,class:!0,href:!0});var g$=y(vt);qo=o(g$,"SPAN",{});var b$=y(qo);u(He.$$.fragment,b$),b$.forEach(e),g$.forEach(e),_m=i(Nf),ao=o(Nf,"SPAN",{"data-svelte-h":!0}),r(ao)!=="svelte-93f54z"&&(ao.textContent=kw),Nf.forEach(e),rp=i(t),Ge=o(t,"P",{"data-svelte-h":!0}),r(Ge)!=="svelte-c0whf"&&(Ge.textContent=Uw),pp=i(t),u(Xe.$$.fragment,t),hp=i(t),Ne=o(t,"P",{"data-svelte-h":!0}),r(Ne)!=="svelte-epkwoc"&&(Ne.textContent=Iw),dp=i(t),Be=o(t,"UL",{"data-svelte-h":!0}),r(Be)!=="svelte-danjdv"&&(Be.innerHTML=Zw),up=i(t),Ve=o(t,"P",{"data-svelte-h":!0}),r(Ve)!=="svelte-1gfp00k"&&(Ve.textContent=Hw),cp=i(t),u(ze.$$.fragment,t),fp=i(t),Re=o(t,"P",{"data-svelte-h":!0}),r(Re)!=="svelte-1sjtmkd"&&(Re.textContent=Gw),mp=i(t),Se=o(t,"P",{"data-svelte-h":!0}),r(Se)!=="svelte-191iwzc"&&(Se.innerHTML=Xw),wp=i(t),u(Le.$$.fragment,t),yp=i(t),Ae=o(t,"P",{"data-svelte-h":!0}),r(Ae)!=="svelte-1xohq9w"&&(Ae.textContent=Nw),Mp=i(t),Ee=o(t,"P",{"data-svelte-h":!0}),r(Ee)!=="svelte-17y24cx"&&(Ee.innerHTML=Bw),vp=i(t),u(We.$$.fragment,t),$p=i(t),Pe=o(t,"P",{"data-svelte-h":!0}),r(Pe)!=="svelte-wm70a5"&&(Pe.innerHTML=Vw),Tp=i(t),Qe=o(t,"P",{"data-svelte-h":!0}),r(Qe)!=="svelte-1qcofvk"&&(Qe.innerHTML=zw),gp=i(t),u(Fe.$$.fragment,t),bp=i(t),qe=o(t,"P",{"data-svelte-h":!0}),r(qe)!=="svelte-1v2kf44"&&(qe.textContent=Rw),Jp=i(t),u(Ye.$$.fragment,t),Cp=i(t),Ke=o(t,"P",{"data-svelte-h":!0}),r(Ke)!=="svelte-xpmdqr"&&(Ke.innerHTML=Sw),_p=i(t),u(De.$$.fragment,t),jp=i(t),Oe=o(t,"P",{"data-svelte-h":!0}),r(Oe)!=="svelte-ya3osx"&&(Oe.innerHTML=Lw),xp=i(t),ts=o(t,"P",{"data-svelte-h":!0}),r(ts)!=="svelte-1t5el5c"&&(ts.innerHTML=Aw),kp=i(t),u(es.$$.fragment,t),Up=i(t),Z=o(t,"H3",{class:!0});var Bf=y(Z);$t=o(Bf,"A",{id:!0,class:!0,href:!0});var J$=y($t);Yo=o(J$,"SPAN",{});var C$=y(Yo);u(ss.$$.fragment,C$),C$.forEach(e),J$.forEach(e),jm=i(Bf),oo=o(Bf,"SPAN",{"data-svelte-h":!0}),r(oo)!=="svelte-11k8nf9"&&(oo.innerHTML=Ew),Bf.forEach(e),Ip=i(t),ls=o(t,"P",{"data-svelte-h":!0}),r(ls)!=="svelte-1h9dnrx"&&(ls.innerHTML=Ww),Zp=i(t),u(ns.$$.fragment,t),Hp=i(t),H=o(t,"H3",{class:!0});var Vf=y(H);Tt=o(Vf,"A",{id:!0,class:!0,href:!0});var _$=y(Tt);Ko=o(_$,"SPAN",{});var j$=y(Ko);u(is.$$.fragment,j$),j$.forEach(e),_$.forEach(e),xm=i(Vf),ro=o(Vf,"SPAN",{"data-svelte-h":!0}),r(ro)!=="svelte-15ytgo7"&&(ro.textContent=Pw),Vf.forEach(e),Gp=i(t),as=o(t,"P",{"data-svelte-h":!0}),r(as)!=="svelte-1v7cinx"&&(as.innerHTML=Qw),Xp=i(t),u(os.$$.fragment,t),Np=i(t),rs=o(t,"P",{"data-svelte-h":!0}),r(rs)!=="svelte-2y6u4r"&&(rs.textContent=Fw),Bp=i(t),u(ps.$$.fragment,t),Vp=i(t),hs=o(t,"P",{"data-svelte-h":!0}),r(hs)!=="svelte-179dx63"&&(hs.innerHTML=qw),zp=i(t),G=o(t,"H3",{class:!0});var zf=y(G);gt=o(zf,"A",{id:!0,class:!0,href:!0});var x$=y(gt);Do=o(x$,"SPAN",{});var k$=y(Do);u(ds.$$.fragment,k$),k$.forEach(e),x$.forEach(e),km=i(zf),po=o(zf,"SPAN",{"data-svelte-h":!0}),r(po)!=="svelte-wb8s8a"&&(po.textContent=Yw),zf.forEach(e),Rp=i(t),us=o(t,"P",{"data-svelte-h":!0}),r(us)!=="svelte-unvzuu"&&(us.innerHTML=Kw),Sp=i(t),u(cs.$$.fragment,t),Lp=i(t),u(fs.$$.fragment,t),Ap=i(t),ms=o(t,"P",{"data-svelte-h":!0}),r(ms)!=="svelte-15u7bp5"&&(ms.textContent=Dw),Ep=i(t),X=o(t,"H3",{class:!0});var Rf=y(X);bt=o(Rf,"A",{id:!0,class:!0,href:!0});var U$=y(bt);Oo=o(U$,"SPAN",{});var I$=y(Oo);u(ws.$$.fragment,I$),I$.forEach(e),U$.forEach(e),Um=i(Rf),ho=o(Rf,"SPAN",{"data-svelte-h":!0}),r(ho)!=="svelte-1ym4r6i"&&(ho.textContent=Ow),Rf.forEach(e),Wp=i(t),ys=o(t,"P",{"data-svelte-h":!0}),r(ys)!=="svelte-vt8irn"&&(ys.innerHTML=ty),Pp=i(t),u(Ms.$$.fragment,t),Qp=i(t),vs=o(t,"P",{"data-svelte-h":!0}),r(vs)!=="svelte-6ajs78"&&(vs.innerHTML=ey),Fp=i(t),$s=o(t,"P",{"data-svelte-h":!0}),r($s)!=="svelte-gj7k8m"&&($s.innerHTML=sy),qp=i(t),u(Ts.$$.fragment,t),Yp=i(t),gs=o(t,"P",{"data-svelte-h":!0}),r(gs)!=="svelte-159ynhd"&&(gs.innerHTML=ly),Kp=i(t),u(bs.$$.fragment,t),Dp=i(t),Js=o(t,"P",{"data-svelte-h":!0}),r(Js)!=="svelte-1ee4njf"&&(Js.textContent=ny),Op=i(t),Cs=o(t,"P",{"data-svelte-h":!0}),r(Cs)!=="svelte-1ax2n5m"&&(Cs.innerHTML=iy),th=i(t),N=o(t,"H3",{class:!0});var Sf=y(N);Jt=o(Sf,"A",{id:!0,class:!0,href:!0});var Z$=y(Jt);tr=o(Z$,"SPAN",{});var H$=y(tr);u(_s.$$.fragment,H$),H$.forEach(e),Z$.forEach(e),Im=i(Sf),uo=o(Sf,"SPAN",{"data-svelte-h":!0}),r(uo)!=="svelte-roxq7h"&&(uo.textContent=ay),Sf.forEach(e),eh=i(t),js=o(t,"P",{"data-svelte-h":!0}),r(js)!=="svelte-avos7q"&&(js.innerHTML=oy),sh=i(t),u(xs.$$.fragment,t),lh=i(t),B=o(t,"H3",{class:!0});var Lf=y(B);Ct=o(Lf,"A",{id:!0,class:!0,href:!0});var G$=y(Ct);er=o(G$,"SPAN",{});var X$=y(er);u(ks.$$.fragment,X$),X$.forEach(e),G$.forEach(e),Zm=i(Lf),co=o(Lf,"SPAN",{"data-svelte-h":!0}),r(co)!=="svelte-9olqlj"&&(co.textContent=ry),Lf.forEach(e),nh=i(t),Us=o(t,"P",{"data-svelte-h":!0}),r(Us)!=="svelte-stzunx"&&(Us.textContent=py),ih=i(t),u(Is.$$.fragment,t),ah=i(t),V=o(t,"H3",{class:!0});var Af=y(V);_t=o(Af,"A",{id:!0,class:!0,href:!0});var N$=y(_t);sr=o(N$,"SPAN",{});var B$=y(sr);u(Zs.$$.fragment,B$),B$.forEach(e),N$.forEach(e),Hm=i(Af),fo=o(Af,"SPAN",{"data-svelte-h":!0}),r(fo)!=="svelte-1hiv0wr"&&(fo.textContent=hy),Af.forEach(e),oh=i(t),Hs=o(t,"P",{"data-svelte-h":!0}),r(Hs)!=="svelte-1pmvtt0"&&(Hs.innerHTML=dy),rh=i(t),Gs=o(t,"P",{"data-svelte-h":!0}),r(Gs)!=="svelte-1nsqbht"&&(Gs.innerHTML=uy),ph=i(t),Xs=o(t,"P",{"data-svelte-h":!0}),r(Xs)!=="svelte-1m3hksa"&&(Xs.innerHTML=cy),hh=i(t),z=o(t,"H3",{class:!0});var Ef=y(z);jt=o(Ef,"A",{id:!0,class:!0,href:!0});var V$=y(jt);lr=o(V$,"SPAN",{});var z$=y(lr);u(Ns.$$.fragment,z$),z$.forEach(e),V$.forEach(e),Gm=i(Ef),mo=o(Ef,"SPAN",{"data-svelte-h":!0}),r(mo)!=="svelte-cs8r1v"&&(mo.textContent=fy),Ef.forEach(e),dh=i(t),Bs=o(t,"P",{"data-svelte-h":!0}),r(Bs)!=="svelte-15ioki4"&&(Bs.textContent=my),uh=i(t),R=o(t,"H4",{class:!0});var Wf=y(R);xt=o(Wf,"A",{id:!0,class:!0,href:!0});var R$=y(xt);nr=o(R$,"SPAN",{});var S$=y(nr);u(Vs.$$.fragment,S$),S$.forEach(e),R$.forEach(e),Xm=i(Wf),wo=o(Wf,"SPAN",{"data-svelte-h":!0}),r(wo)!=="svelte-1ldp4kn"&&(wo.textContent=wy),Wf.forEach(e),ch=i(t),zs=o(t,"UL",{"data-svelte-h":!0}),r(zs)!=="svelte-1mmgi4h"&&(zs.innerHTML=yy),fh=i(t),u(Rs.$$.fragment,t),mh=i(t),Ss=o(t,"P",{"data-svelte-h":!0}),r(Ss)!=="svelte-18b9tpg"&&(Ss.textContent=My),wh=i(t),u(Ls.$$.fragment,t),yh=i(t),u(kt.$$.fragment,t),Mh=i(t),u(Ut.$$.fragment,t),vh=i(t),S=o(t,"H4",{class:!0});var Pf=y(S);It=o(Pf,"A",{id:!0,class:!0,href:!0});var L$=y(It);ir=o(L$,"SPAN",{});var A$=y(ir);u(As.$$.fragment,A$),A$.forEach(e),L$.forEach(e),Nm=i(Pf),yo=o(Pf,"SPAN",{"data-svelte-h":!0}),r(yo)!=="svelte-113t9lc"&&(yo.textContent=vy),Pf.forEach(e),$h=i(t),u(Es.$$.fragment,t),Th=i(t),Ws=o(t,"P",{"data-svelte-h":!0}),r(Ws)!=="svelte-f8h5dv"&&(Ws.innerHTML=$y),gh=i(t),Ps=o(t,"P",{"data-svelte-h":!0}),r(Ps)!=="svelte-7bnqvo"&&(Ps.innerHTML=Ty),bh=i(t),u(Qs.$$.fragment,t),Jh=i(t),Fs=o(t,"P",{"data-svelte-h":!0}),r(Fs)!=="svelte-fmmfnt"&&(Fs.textContent=gy),Ch=i(t),u(qs.$$.fragment,t),_h=i(t),Ys=o(t,"P",{"data-svelte-h":!0}),r(Ys)!=="svelte-13ddfrq"&&(Ys.innerHTML=by),jh=i(t),u(Ks.$$.fragment,t),xh=i(t),Ds=o(t,"P",{"data-svelte-h":!0}),r(Ds)!=="svelte-1wfinax"&&(Ds.textContent=Jy),kh=i(t),u(Os.$$.fragment,t),Uh=i(t),tl=o(t,"P",{"data-svelte-h":!0}),r(tl)!=="svelte-1ur3h1j"&&(tl.innerHTML=Cy),Ih=i(t),el=o(t,"P",{"data-svelte-h":!0}),r(el)!=="svelte-joumxu"&&(el.innerHTML=_y),Zh=i(t),L=o(t,"H3",{class:!0});var Qf=y(L);Zt=o(Qf,"A",{id:!0,class:!0,href:!0});var E$=y(Zt);ar=o(E$,"SPAN",{});var W$=y(ar);u(sl.$$.fragment,W$),W$.forEach(e),E$.forEach(e),Bm=i(Qf),Mo=o(Qf,"SPAN",{"data-svelte-h":!0}),r(Mo)!=="svelte-cjv0j9"&&(Mo.textContent=jy),Qf.forEach(e),Hh=i(t),A=o(t,"H4",{class:!0});var Ff=y(A);Ht=o(Ff,"A",{id:!0,class:!0,href:!0});var P$=y(Ht);or=o(P$,"SPAN",{});var Q$=y(or);u(ll.$$.fragment,Q$),Q$.forEach(e),P$.forEach(e),Vm=i(Ff),vo=o(Ff,"SPAN",{"data-svelte-h":!0}),r(vo)!=="svelte-1pm28ax"&&(vo.textContent=xy),Ff.forEach(e),Gh=i(t),nl=o(t,"P",{"data-svelte-h":!0}),r(nl)!=="svelte-1l9hk1w"&&(nl.innerHTML=ky),Xh=i(t),u(il.$$.fragment,t),Nh=i(t),al=o(t,"P",{"data-svelte-h":!0}),r(al)!=="svelte-imfw4r"&&(al.textContent=Uy),Bh=i(t),u(ol.$$.fragment,t),Vh=i(t),rl=o(t,"P",{"data-svelte-h":!0}),r(rl)!=="svelte-14pjrdm"&&(rl.textContent=Iy),zh=i(t),E=o(t,"H4",{class:!0});var qf=y(E);Gt=o(qf,"A",{id:!0,class:!0,href:!0});var F$=y(Gt);rr=o(F$,"SPAN",{});var q$=y(rr);u(pl.$$.fragment,q$),q$.forEach(e),F$.forEach(e),zm=i(qf),$o=o(qf,"SPAN",{"data-svelte-h":!0}),r($o)!=="svelte-1vbnmic"&&($o.textContent=Zy),qf.forEach(e),Rh=i(t),hl=o(t,"P",{"data-svelte-h":!0}),r(hl)!=="svelte-umw6ao"&&(hl.innerHTML=Hy),Sh=i(t),u(dl.$$.fragment,t),Lh=i(t),W=o(t,"H4",{class:!0});var Yf=y(W);Xt=o(Yf,"A",{id:!0,class:!0,href:!0});var Y$=y(Xt);pr=o(Y$,"SPAN",{});var K$=y(pr);u(ul.$$.fragment,K$),K$.forEach(e),Y$.forEach(e),Rm=i(Yf),To=o(Yf,"SPAN",{"data-svelte-h":!0}),r(To)!=="svelte-o5cmy5"&&(To.textContent=Gy),Yf.forEach(e),Ah=i(t),cl=o(t,"P",{"data-svelte-h":!0}),r(cl)!=="svelte-1yhn8j7"&&(cl.innerHTML=Xy),Eh=i(t),u(fl.$$.fragment,t),Wh=i(t),u(ml.$$.fragment,t),Ph=i(t),P=o(t,"H3",{class:!0});var Kf=y(P);Nt=o(Kf,"A",{id:!0,class:!0,href:!0});var D$=y(Nt);hr=o(D$,"SPAN",{});var O$=y(hr);u(wl.$$.fragment,O$),O$.forEach(e),D$.forEach(e),Sm=i(Kf),go=o(Kf,"SPAN",{"data-svelte-h":!0}),r(go)!=="svelte-dnz4jl"&&(go.textContent=Ny),Kf.forEach(e),Qh=i(t),yl=o(t,"P",{"data-svelte-h":!0}),r(yl)!=="svelte-1rob2zs"&&(yl.innerHTML=By),Fh=i(t),u(Ml.$$.fragment,t),qh=i(t),vl=o(t,"P",{"data-svelte-h":!0}),r(vl)!=="svelte-1udju7w"&&(vl.innerHTML=Vy),Yh=i(t),u($l.$$.fragment,t),Kh=i(t),Tl=o(t,"P",{"data-svelte-h":!0}),r(Tl)!=="svelte-1ws7l6h"&&(Tl.textContent=zy),Dh=i(t),gl=o(t,"P",{"data-svelte-h":!0}),r(gl)!=="svelte-9ls328"&&(gl.textContent=Ry),Oh=i(t),bl=o(t,"UL",{"data-svelte-h":!0}),r(bl)!=="svelte-15bvuyl"&&(bl.innerHTML=Sy),td=i(t),Jl=o(t,"P",{"data-svelte-h":!0}),r(Jl)!=="svelte-utz14"&&(Jl.textContent=Ly),ed=i(t),Cl=o(t,"P",{"data-svelte-h":!0}),r(Cl)!=="svelte-5bpuka"&&(Cl.innerHTML=Ay),sd=i(t),_l=o(t,"P",{"data-svelte-h":!0}),r(_l)!=="svelte-f7k590"&&(_l.textContent=Ey),ld=i(t),u(jl.$$.fragment,t),nd=i(t),xl=o(t,"P",{"data-svelte-h":!0}),r(xl)!=="svelte-1h8vitx"&&(xl.innerHTML=Wy),id=i(t),u(kl.$$.fragment,t),ad=i(t),Ul=o(t,"P",{"data-svelte-h":!0}),r(Ul)!=="svelte-ffnm4q"&&(Ul.textContent=Py),od=i(t),u(Il.$$.fragment,t),rd=i(t),Zl=o(t,"P",{"data-svelte-h":!0}),r(Zl)!=="svelte-353xix"&&(Zl.innerHTML=Qy),pd=i(t),u(Hl.$$.fragment,t),hd=i(t),Gl=o(t,"P",{"data-svelte-h":!0}),r(Gl)!=="svelte-v3nbmf"&&(Gl.innerHTML=Fy),dd=i(t),Xl=o(t,"P",{"data-svelte-h":!0}),r(Xl)!=="svelte-u2pw3h"&&(Xl.textContent=qy),ud=i(t),Nl=o(t,"UL",{"data-svelte-h":!0}),r(Nl)!=="svelte-3jen5c"&&(Nl.innerHTML=Yy),cd=i(t),u(Bl.$$.fragment,t),fd=i(t),Q=o(t,"H3",{class:!0});var Df=y(Q);Bt=o(Df,"A",{id:!0,class:!0,href:!0});var tT=y(Bt);dr=o(tT,"SPAN",{});var eT=y(dr);u(Vl.$$.fragment,eT),eT.forEach(e),tT.forEach(e),Lm=i(Df),bo=o(Df,"SPAN",{"data-svelte-h":!0}),r(bo)!=="svelte-orm64"&&(bo.textContent=Ky),Df.forEach(e),md=i(t),zl=o(t,"P",{"data-svelte-h":!0}),r(zl)!=="svelte-db62h"&&(zl.innerHTML=Dy),wd=i(t),u(Rl.$$.fragment,t),yd=i(t),Sl=o(t,"P",{"data-svelte-h":!0}),r(Sl)!=="svelte-a4621l"&&(Sl.innerHTML=Oy),Md=i(t),Ll=o(t,"P",{"data-svelte-h":!0}),r(Ll)!=="svelte-178tu9q"&&(Ll.innerHTML=tM),vd=i(t),u(Al.$$.fragment,t),$d=i(t),F=o(t,"H3",{class:!0});var Of=y(F);Vt=o(Of,"A",{id:!0,class:!0,href:!0});var sT=y(Vt);ur=o(sT,"SPAN",{});var lT=y(ur);u(El.$$.fragment,lT),lT.forEach(e),sT.forEach(e),Am=i(Of),Jo=o(Of,"SPAN",{"data-svelte-h":!0}),r(Jo)!=="svelte-10elape"&&(Jo.textContent=eM),Of.forEach(e),Td=i(t),Wl=o(t,"P",{"data-svelte-h":!0}),r(Wl)!=="svelte-12mggyp"&&(Wl.innerHTML=sM),gd=i(t),Pl=o(t,"P",{"data-svelte-h":!0}),r(Pl)!=="svelte-4caaxc"&&(Pl.textContent=lM),bd=i(t),Ql=o(t,"UL",{"data-svelte-h":!0}),r(Ql)!=="svelte-m5pydi"&&(Ql.innerHTML=nM),Jd=i(t),Fl=o(t,"P",{"data-svelte-h":!0}),r(Fl)!=="svelte-qqwmn6"&&(Fl.innerHTML=iM),Cd=i(t),ql=o(t,"P",{"data-svelte-h":!0}),r(ql)!=="svelte-qc147d"&&(ql.textContent=aM),_d=i(t),u(Yl.$$.fragment,t),jd=i(t),q=o(t,"H3",{class:!0});var tm=y(q);zt=o(tm,"A",{id:!0,class:!0,href:!0});var nT=y(zt);cr=o(nT,"SPAN",{});var iT=y(cr);u(Kl.$$.fragment,iT),iT.forEach(e),nT.forEach(e),Em=i(tm),Co=o(tm,"SPAN",{"data-svelte-h":!0}),r(Co)!=="svelte-z0yz0w"&&(Co.textContent=oM),tm.forEach(e),xd=i(t),Dl=o(t,"P",{"data-svelte-h":!0}),r(Dl)!=="svelte-1bsvp4y"&&(Dl.innerHTML=rM),kd=i(t),Ol=o(t,"P",{"data-svelte-h":!0}),r(Ol)!=="svelte-1gq9tao"&&(Ol.innerHTML=pM),Ud=i(t),u(tn.$$.fragment,t),Id=i(t),en=o(t,"P",{"data-svelte-h":!0}),r(en)!=="svelte-euahrc"&&(en.textContent=hM),Zd=i(t),u(sn.$$.fragment,t),Hd=i(t),Y=o(t,"H3",{class:!0});var em=y(Y);Rt=o(em,"A",{id:!0,class:!0,href:!0});var aT=y(Rt);fr=o(aT,"SPAN",{});var oT=y(fr);u(ln.$$.fragment,oT),oT.forEach(e),aT.forEach(e),Wm=i(em),_o=o(em,"SPAN",{"data-svelte-h":!0}),r(_o)!=="svelte-1pxacr9"&&(_o.textContent=dM),em.forEach(e),Gd=i(t),nn=o(t,"P",{"data-svelte-h":!0}),r(nn)!=="svelte-dng90j"&&(nn.textContent=uM),Xd=i(t),u(an.$$.fragment,t),Nd=i(t),K=o(t,"H3",{class:!0});var sm=y(K);St=o(sm,"A",{id:!0,class:!0,href:!0});var rT=y(St);mr=o(rT,"SPAN",{});var pT=y(mr);u(on.$$.fragment,pT),pT.forEach(e),rT.forEach(e),Pm=i(sm),jo=o(sm,"SPAN",{"data-svelte-h":!0}),r(jo)!=="svelte-1qiuf5s"&&(jo.textContent=cM),sm.forEach(e),Bd=i(t),rn=o(t,"P",{"data-svelte-h":!0}),r(rn)!=="svelte-1w4eg93"&&(rn.textContent=fM),Vd=i(t),u(pn.$$.fragment,t),zd=i(t),hn=o(t,"P",{"data-svelte-h":!0}),r(hn)!=="svelte-weqhq8"&&(hn.textContent=mM),Rd=i(t),dn=o(t,"P",{"data-svelte-h":!0}),r(dn)!=="svelte-bpmeeu"&&(dn.textContent=wM),Sd=i(t),u(un.$$.fragment,t),Ld=i(t),D=o(t,"H2",{class:!0});var lm=y(D);Lt=o(lm,"A",{id:!0,class:!0,href:!0});var hT=y(Lt);wr=o(hT,"SPAN",{});var dT=y(wr);u(cn.$$.fragment,dT),dT.forEach(e),hT.forEach(e),Qm=i(lm),xo=o(lm,"SPAN",{"data-svelte-h":!0}),r(xo)!=="svelte-1igob62"&&(xo.textContent=yM),lm.forEach(e),Ad=i(t),fn=o(t,"P",{"data-svelte-h":!0}),r(fn)!=="svelte-eorfz6"&&(fn.innerHTML=MM),Ed=i(t),mn=o(t,"P",{"data-svelte-h":!0}),r(mn)!=="svelte-1ygwz5h"&&(mn.innerHTML=vM),Wd=i(t),O=o(t,"H3",{class:!0});var nm=y(O);At=o(nm,"A",{id:!0,class:!0,href:!0});var uT=y(At);yr=o(uT,"SPAN",{});var cT=y(yr);u(wn.$$.fragment,cT),cT.forEach(e),uT.forEach(e),Fm=i(nm),ko=o(nm,"SPAN",{"data-svelte-h":!0}),r(ko)!=="svelte-b25o69"&&(ko.textContent=$M),nm.forEach(e),Pd=i(t),yn=o(t,"P",{"data-svelte-h":!0}),r(yn)!=="svelte-snf8ke"&&(yn.textContent=TM),Qd=i(t),u(Mn.$$.fragment,t),Fd=i(t),vn=o(t,"P",{"data-svelte-h":!0}),r(vn)!=="svelte-1737hyy"&&(vn.innerHTML=gM),qd=i(t),$n=o(t,"P",{"data-svelte-h":!0}),r($n)!=="svelte-1oufrw1"&&($n.innerHTML=bM),Yd=i(t),u(Tn.$$.fragment,t),Kd=i(t),gn=o(t,"P",{"data-svelte-h":!0}),r(gn)!=="svelte-1tl0nx7"&&(gn.innerHTML=JM),Dd=i(t),u(bn.$$.fragment,t),Od=i(t),Jn=o(t,"P",{"data-svelte-h":!0}),r(Jn)!=="svelte-19gvkao"&&(Jn.innerHTML=CM),tu=i(t),u(Cn.$$.fragment,t),eu=i(t),_n=o(t,"P",{"data-svelte-h":!0}),r(_n)!=="svelte-4rsktk"&&(_n.textContent=_M),su=i(t),u(jn.$$.fragment,t),lu=i(t),xn=o(t,"P",{"data-svelte-h":!0}),r(xn)!=="svelte-6ynunq"&&(xn.textContent=jM),nu=i(t),u(kn.$$.fragment,t),iu=i(t),Un=o(t,"P",{"data-svelte-h":!0}),r(Un)!=="svelte-1pfiycl"&&(Un.innerHTML=xM),au=i(t),In=o(t,"P",{"data-svelte-h":!0}),r(In)!=="svelte-1ygobi4"&&(In.innerHTML=kM),ou=i(t),Zn=o(t,"P",{"data-svelte-h":!0}),r(Zn)!=="svelte-qhi9ux"&&(Zn.innerHTML=UM),ru=i(t),u(Hn.$$.fragment,t),pu=i(t),Gn=o(t,"P",{"data-svelte-h":!0}),r(Gn)!=="svelte-e797ol"&&(Gn.innerHTML=IM),hu=i(t),u(Xn.$$.fragment,t),du=i(t),Nn=o(t,"P",{"data-svelte-h":!0}),r(Nn)!=="svelte-4rsktk"&&(Nn.textContent=ZM),uu=i(t),u(Bn.$$.fragment,t),cu=i(t),Vn=o(t,"P",{"data-svelte-h":!0}),r(Vn)!=="svelte-1pp8dat"&&(Vn.textContent=HM),fu=i(t),u(zn.$$.fragment,t),mu=i(t),Rn=o(t,"P",{"data-svelte-h":!0}),r(Rn)!=="svelte-wcwikf"&&(Rn.textContent=GM),wu=i(t),tt=o(t,"H3",{class:!0});var im=y(tt);Et=o(im,"A",{id:!0,class:!0,href:!0});var fT=y(Et);Mr=o(fT,"SPAN",{});var mT=y(Mr);u(Sn.$$.fragment,mT),mT.forEach(e),fT.forEach(e),qm=i(im),Uo=o(im,"SPAN",{"data-svelte-h":!0}),r(Uo)!=="svelte-41e8ky"&&(Uo.textContent=XM),im.forEach(e),yu=i(t),Ln=o(t,"P",{"data-svelte-h":!0}),r(Ln)!=="svelte-ggv3l3"&&(Ln.innerHTML=NM),Mu=i(t),An=o(t,"UL",{"data-svelte-h":!0}),r(An)!=="svelte-jurlci"&&(An.innerHTML=BM),vu=i(t),En=o(t,"P",{"data-svelte-h":!0}),r(En)!=="svelte-91az3w"&&(En.innerHTML=VM),$u=i(t),u(Wn.$$.fragment,t),Tu=i(t),Pn=o(t,"P",{"data-svelte-h":!0}),r(Pn)!=="svelte-rjyeyp"&&(Pn.innerHTML=zM),gu=i(t),u(Qn.$$.fragment,t),bu=i(t),et=o(t,"H3",{class:!0});var am=y(et);Wt=o(am,"A",{id:!0,class:!0,href:!0});var wT=y(Wt);vr=o(wT,"SPAN",{});var yT=y(vr);u(Fn.$$.fragment,yT),yT.forEach(e),wT.forEach(e),Ym=i(am),Io=o(am,"SPAN",{"data-svelte-h":!0}),r(Io)!=="svelte-168fk15"&&(Io.textContent=RM),am.forEach(e),Ju=i(t),qn=o(t,"P",{"data-svelte-h":!0}),r(qn)!=="svelte-1vmbsy3"&&(qn.innerHTML=SM),Cu=i(t),Yn=o(t,"P",{"data-svelte-h":!0}),r(Yn)!=="svelte-1nqxzoj"&&(Yn.textContent=LM),_u=i(t),Kn=o(t,"P",{"data-svelte-h":!0}),r(Kn)!=="svelte-1lx14g9"&&(Kn.innerHTML=AM),ju=i(t),Dn=o(t,"P",{"data-svelte-h":!0}),r(Dn)!=="svelte-ga57nj"&&(Dn.textContent=EM),xu=i(t),u(On.$$.fragment,t),ku=i(t),ti=o(t,"P",{"data-svelte-h":!0}),r(ti)!=="svelte-1flfm4w"&&(ti.innerHTML=WM),Uu=i(t),ei=o(t,"UL",{"data-svelte-h":!0}),r(ei)!=="svelte-1rvelqv"&&(ei.innerHTML=PM),Iu=i(t),u(si.$$.fragment,t),Zu=i(t),li=o(t,"P",{"data-svelte-h":!0}),r(li)!=="svelte-1vcgtp4"&&(li.innerHTML=QM),Hu=i(t),ni=o(t,"UL",{"data-svelte-h":!0}),r(ni)!=="svelte-1v175v7"&&(ni.innerHTML=FM),Gu=i(t),u(ii.$$.fragment,t),Xu=i(t),ai=o(t,"P",{"data-svelte-h":!0}),r(ai)!=="svelte-pk8usg"&&(ai.textContent=qM),Nu=i(t),oi=o(t,"UL",{"data-svelte-h":!0}),r(oi)!=="svelte-17enf76"&&(oi.innerHTML=YM),Bu=i(t),u(Pt.$$.fragment,t),Vu=i(t),u(Qt.$$.fragment,t),zu=i(t),st=o(t,"H3",{class:!0});var om=y(st);Ft=o(om,"A",{id:!0,class:!0,href:!0});var MT=y(Ft);$r=o(MT,"SPAN",{});var vT=y($r);u(ri.$$.fragment,vT),vT.forEach(e),MT.forEach(e),Km=i(om),Zo=o(om,"SPAN",{"data-svelte-h":!0}),r(Zo)!=="svelte-11ee2qq"&&(Zo.textContent=KM),om.forEach(e),Ru=i(t),pi=o(t,"P",{"data-svelte-h":!0}),r(pi)!=="svelte-1blmp1h"&&(pi.innerHTML=DM),Su=i(t),u(hi.$$.fragment,t),Lu=i(t),lt=o(t,"H3",{class:!0});var rm=y(lt);qt=o(rm,"A",{id:!0,class:!0,href:!0});var $T=y(qt);Tr=o($T,"SPAN",{});var TT=y(Tr);u(di.$$.fragment,TT),TT.forEach(e),$T.forEach(e),Dm=i(rm),Ho=o(rm,"SPAN",{"data-svelte-h":!0}),r(Ho)!=="svelte-1v7kjgn"&&(Ho.textContent=OM),rm.forEach(e),Au=i(t),ui=o(t,"P",{"data-svelte-h":!0}),r(ui)!=="svelte-dlsjg1"&&(ui.innerHTML=tv),Eu=i(t),ci=o(t,"P",{"data-svelte-h":!0}),r(ci)!=="svelte-14pqgk8"&&(ci.textContent=ev),Wu=i(t),fi=o(t,"UL",{"data-svelte-h":!0}),r(fi)!=="svelte-y68pnm"&&(fi.innerHTML=sv),Pu=i(t),mi=o(t,"P",{"data-svelte-h":!0}),r(mi)!=="svelte-1c4q1t0"&&(mi.innerHTML=lv),Qu=i(t),nt=o(t,"H4",{class:!0});var pm=y(nt);Yt=o(pm,"A",{id:!0,class:!0,href:!0});var gT=y(Yt);gr=o(gT,"SPAN",{});var bT=y(gr);u(wi.$$.fragment,bT),bT.forEach(e),gT.forEach(e),Om=i(pm),Go=o(pm,"SPAN",{"data-svelte-h":!0}),r(Go)!=="svelte-95uh9b"&&(Go.textContent=nv),pm.forEach(e),Fu=i(t),yi=o(t,"UL",{"data-svelte-h":!0}),r(yi)!=="svelte-1hhtdwa"&&(yi.innerHTML=iv),qu=i(t),u(Mi.$$.fragment,t),Yu=i(t),vi=o(t,"P",{"data-svelte-h":!0}),r(vi)!=="svelte-15p8ism"&&(vi.textContent=av),Ku=i(t),u($i.$$.fragment,t),Du=i(t),Ti=o(t,"P",{"data-svelte-h":!0}),r(Ti)!=="svelte-td5r6o"&&(Ti.innerHTML=ov),Ou=i(t),u(gi.$$.fragment,t),tc=i(t),bi=o(t,"UL",{"data-svelte-h":!0}),r(bi)!=="svelte-dwdwa6"&&(bi.innerHTML=rv),ec=i(t),u(Ji.$$.fragment,t),sc=i(t),Ci=o(t,"P",{"data-svelte-h":!0}),r(Ci)!=="svelte-1hcnf1h"&&(Ci.textContent=pv),lc=i(t),u(_i.$$.fragment,t),nc=i(t),ji=o(t,"P",{"data-svelte-h":!0}),r(ji)!=="svelte-td5r6o"&&(ji.innerHTML=hv),ic=i(t),u(xi.$$.fragment,t),ac=i(t),ki=o(t,"UL",{"data-svelte-h":!0}),r(ki)!=="svelte-15o6zb5"&&(ki.innerHTML=dv),oc=i(t),u(Ui.$$.fragment,t),rc=i(t),Ii=o(t,"UL",{"data-svelte-h":!0}),r(Ii)!=="svelte-e2w3rp"&&(Ii.innerHTML=uv),pc=i(t),u(Zi.$$.fragment,t),hc=i(t),Hi=o(t,"P",{"data-svelte-h":!0}),r(Hi)!=="svelte-ylttvt"&&(Hi.textContent=cv),dc=i(t),u(Gi.$$.fragment,t),uc=i(t),Xi=o(t,"P",{"data-svelte-h":!0}),r(Xi)!=="svelte-1uqdrdi"&&(Xi.textContent=fv),cc=i(t),u(Ni.$$.fragment,t),fc=i(t),Bi=o(t,"P",{"data-svelte-h":!0}),r(Bi)!=="svelte-mlyx41"&&(Bi.innerHTML=mv),mc=i(t),it=o(t,"H3",{class:!0});var hm=y(it);Kt=o(hm,"A",{id:!0,class:!0,href:!0});var JT=y(Kt);br=o(JT,"SPAN",{});var CT=y(br);u(Vi.$$.fragment,CT),CT.forEach(e),JT.forEach(e),tw=i(hm),Xo=o(hm,"SPAN",{"data-svelte-h":!0}),r(Xo)!=="svelte-1217m59"&&(Xo.textContent=wv),hm.forEach(e),wc=i(t),zi=o(t,"P",{"data-svelte-h":!0}),r(zi)!=="svelte-1hy2jf0"&&(zi.textContent=yv),yc=i(t),u(Ri.$$.fragment,t),Mc=i(t),Si=o(t,"P",{"data-svelte-h":!0}),r(Si)!=="svelte-1szno4g"&&(Si.innerHTML=Mv),vc=i(t),u(Li.$$.fragment,t),$c=i(t),Ai=o(t,"P",{"data-svelte-h":!0}),r(Ai)!=="svelte-1apnezy"&&(Ai.innerHTML=vv),Tc=i(t),u(Ei.$$.fragment,t),gc=i(t),Wi=o(t,"P",{"data-svelte-h":!0}),r(Wi)!=="svelte-rf3maz"&&(Wi.textContent=$v),bc=i(t),Pi=o(t,"P",{"data-svelte-h":!0}),r(Pi)!=="svelte-1tipejs"&&(Pi.textContent=Tv),Jc=i(t),Qi=o(t,"P",{"data-svelte-h":!0}),r(Qi)!=="svelte-7rit7z"&&(Qi.textContent=gv),Cc=i(t),Fi=o(t,"UL",{"data-svelte-h":!0}),r(Fi)!=="svelte-1kul420"&&(Fi.innerHTML=bv),_c=i(t),qi=o(t,"P",{"data-svelte-h":!0}),r(qi)!=="svelte-zoj47i"&&(qi.innerHTML=Jv),jc=i(t),u(Yi.$$.fragment,t),xc=i(t),Ki=o(t,"P",{"data-svelte-h":!0}),r(Ki)!=="svelte-ubpbuc"&&(Ki.innerHTML=Cv),kc=i(t),Di=o(t,"P",{"data-svelte-h":!0}),r(Di)!=="svelte-94izzk"&&(Di.innerHTML=_v),Uc=i(t),Oi=o(t,"P",{"data-svelte-h":!0}),r(Oi)!=="svelte-14cphpq"&&(Oi.textContent=jv),Ic=i(t),at=o(t,"H3",{class:!0});var dm=y(at);Dt=o(dm,"A",{id:!0,class:!0,href:!0});var _T=y(Dt);Jr=o(_T,"SPAN",{});var jT=y(Jr);u(ta.$$.fragment,jT),jT.forEach(e),_T.forEach(e),ew=i(dm),No=o(dm,"SPAN",{"data-svelte-h":!0}),r(No)!=="svelte-l6vdgl"&&(No.textContent=xv),dm.forEach(e),Zc=i(t),ea=o(t,"P",{"data-svelte-h":!0}),r(ea)!=="svelte-lkbhi"&&(ea.innerHTML=kv),Hc=i(t),u(sa.$$.fragment,t),Gc=i(t),la=o(t,"P",{"data-svelte-h":!0}),r(la)!=="svelte-y7erom"&&(la.innerHTML=Uv),Xc=i(t),u(na.$$.fragment,t),Nc=i(t),ia=o(t,"P",{"data-svelte-h":!0}),r(ia)!=="svelte-1hn7f4z"&&(ia.innerHTML=Iv),Bc=i(t),u(aa.$$.fragment,t),Vc=i(t),oa=o(t,"P",{"data-svelte-h":!0}),r(oa)!=="svelte-1apzdyq"&&(oa.innerHTML=Zv),zc=i(t),ra=o(t,"P",{"data-svelte-h":!0}),r(ra)!=="svelte-1uzq8t5"&&(ra.innerHTML=Hv),Rc=i(t),u(pa.$$.fragment,t),Sc=i(t),ha=o(t,"P",{"data-svelte-h":!0}),r(ha)!=="svelte-zun07a"&&(ha.textContent=Gv),Lc=i(t),u(da.$$.fragment,t),Ac=i(t),ua=o(t,"P",{"data-svelte-h":!0}),r(ua)!=="svelte-ovlbpn"&&(ua.innerHTML=Xv),Ec=i(t),u(ca.$$.fragment,t),Wc=i(t),fa=o(t,"P",{"data-svelte-h":!0}),r(fa)!=="svelte-1tcp04v"&&(fa.innerHTML=Nv),Pc=i(t),u(ma.$$.fragment,t),Qc=i(t),wa=o(t,"P",{"data-svelte-h":!0}),r(wa)!=="svelte-9q1cwt"&&(wa.textContent=Bv),Fc=i(t),ot=o(t,"H3",{class:!0});var um=y(ot);Ot=o(um,"A",{id:!0,class:!0,href:!0});var xT=y(Ot);Cr=o(xT,"SPAN",{});var kT=y(Cr);u(ya.$$.fragment,kT),kT.forEach(e),xT.forEach(e),sw=i(um),Bo=o(um,"SPAN",{"data-svelte-h":!0}),r(Bo)!=="svelte-1pm2mk2"&&(Bo.textContent=Vv),um.forEach(e),qc=i(t),Ma=o(t,"P",{"data-svelte-h":!0}),r(Ma)!=="svelte-vnemvg"&&(Ma.innerHTML=zv),Yc=i(t),u(va.$$.fragment,t),Kc=i(t),rt=o(t,"H3",{class:!0});var cm=y(rt);te=o(cm,"A",{id:!0,class:!0,href:!0});var UT=y(te);_r=o(UT,"SPAN",{});var IT=y(_r);u($a.$$.fragment,IT),IT.forEach(e),UT.forEach(e),lw=i(cm),Vo=o(cm,"SPAN",{"data-svelte-h":!0}),r(Vo)!=="svelte-1b6baut"&&(Vo.textContent=Rv),cm.forEach(e),Dc=i(t),Ta=o(t,"P",{"data-svelte-h":!0}),r(Ta)!=="svelte-kw5cnh"&&(Ta.innerHTML=Sv),Oc=i(t),u(ga.$$.fragment,t),tf=i(t),ba=o(t,"P",{"data-svelte-h":!0}),r(ba)!=="svelte-147mt1i"&&(ba.innerHTML=Lv),ef=i(t),u(Ja.$$.fragment,t),sf=i(t),Ca=o(t,"P",{"data-svelte-h":!0}),r(Ca)!=="svelte-1ppwycl"&&(Ca.innerHTML=Av),lf=i(t),_a=o(t,"P",{"data-svelte-h":!0}),r(_a)!=="svelte-1wla2hx"&&(_a.innerHTML=Ev),nf=i(t),pt=o(t,"H3",{class:!0});var fm=y(pt);ee=o(fm,"A",{id:!0,class:!0,href:!0});var ZT=y(ee);jr=o(ZT,"SPAN",{});var HT=y(jr);u(ja.$$.fragment,HT),HT.forEach(e),ZT.forEach(e),nw=i(fm),zo=o(fm,"SPAN",{"data-svelte-h":!0}),r(zo)!=="svelte-1fdfplf"&&(zo.textContent=Wv),fm.forEach(e),af=i(t),xa=o(t,"P",{"data-svelte-h":!0}),r(xa)!=="svelte-85vvld"&&(xa.textContent=Pv),of=i(t),u(ka.$$.fragment,t),rf=i(t),ht=o(t,"H3",{class:!0});var mm=y(ht);se=o(mm,"A",{id:!0,class:!0,href:!0});var GT=y(se);xr=o(GT,"SPAN",{});var XT=y(xr);u(Ua.$$.fragment,XT),XT.forEach(e),GT.forEach(e),iw=i(mm),Ro=o(mm,"SPAN",{"data-svelte-h":!0}),r(Ro)!=="svelte-1rdvfxi"&&(Ro.textContent=Qv),mm.forEach(e),pf=i(t),Ia=o(t,"P",{"data-svelte-h":!0}),r(Ia)!=="svelte-10j78ug"&&(Ia.textContent=Fv),hf=i(t),u(Za.$$.fragment,t),df=i(t),dt=o(t,"H2",{class:!0});var wm=y(dt);le=o(wm,"A",{id:!0,class:!0,href:!0});var NT=y(le);kr=o(NT,"SPAN",{});var BT=y(kr);u(Ha.$$.fragment,BT),BT.forEach(e),NT.forEach(e),aw=i(wm),So=o(wm,"SPAN",{"data-svelte-h":!0}),r(So)!=="svelte-3ozz8q"&&(So.textContent=qv),wm.forEach(e),uf=i(t),Ga=o(t,"P",{"data-svelte-h":!0}),r(Ga)!=="svelte-1i5zdaf"&&(Ga.textContent=Yv),cf=i(t),Xa=o(t,"OL",{"data-svelte-h":!0}),r(Xa)!=="svelte-16qtrad"&&(Xa.innerHTML=Kv),ff=i(t),ut=o(t,"H2",{class:!0});var ym=y(ut);ne=o(ym,"A",{id:!0,class:!0,href:!0});var VT=y(ne);Ur=o(VT,"SPAN",{});var zT=y(Ur);u(Na.$$.fragment,zT),zT.forEach(e),VT.forEach(e),ow=i(ym),Lo=o(ym,"SPAN",{"data-svelte-h":!0}),r(Lo)!=="svelte-102rilm"&&(Lo.textContent=Dv),ym.forEach(e),mf=i(t),Ba=o(t,"P",{"data-svelte-h":!0}),r(Ba)!=="svelte-bmnf8q"&&(Ba.textContent=Ov),wf=i(t),Va=o(t,"OL",{"data-svelte-h":!0}),r(Va)!=="svelte-gem8u9"&&(Va.innerHTML=t$),yf=i(t),za=o(t,"P",{"data-svelte-h":!0}),r(za)!=="svelte-gr2fu5"&&(za.textContent=e$),Mf=i(t),Ra=o(t,"P",{"data-svelte-h":!0}),r(Ra)!=="svelte-1wcop4v"&&(Ra.textContent=s$),vf=i(t),Sa=o(t,"P",{"data-svelte-h":!0}),r(Sa)!=="svelte-45u4zb"&&(Sa.textContent=l$),$f=i(t),La=o(t,"P",{"data-svelte-h":!0}),r(La)!=="svelte-puvloo"&&(La.textContent=n$),Tf=i(t),Aa=o(t,"OL",{"data-svelte-h":!0}),r(Aa)!=="svelte-8lbm08"&&(Aa.innerHTML=i$),gf=i(t),Ea=o(t,"P",{"data-svelte-h":!0}),r(Ea)!=="svelte-1240csr"&&(Ea.textContent=a$),bf=i(t),u(Wa.$$.fragment,t),Jf=i(t),Pa=o(t,"P",{"data-svelte-h":!0}),r(Pa)!=="svelte-7dixon"&&(Pa.textContent=o$),Cf=i(t),u(Qa.$$.fragment,t),_f=i(t),Fa=o(t,"P",{"data-svelte-h":!0}),r(Fa)!=="svelte-hcmust"&&(Fa.innerHTML=r$),jf=i(t),qa=o(t,"P",{"data-svelte-h":!0}),r(qa)!=="svelte-61pj3v"&&(qa.innerHTML=p$),xf=i(t),Ya=o(t,"P",{"data-svelte-h":!0}),r(Ya)!=="svelte-ty6adq"&&(Ya.textContent=h$),kf=i(t),Ka=o(t,"UL",{"data-svelte-h":!0}),r(Ka)!=="svelte-ikwit4"&&(Ka.innerHTML=d$),Uf=i(t),Ir=o(t,"P",{}),y(Ir).forEach(e),this.h()},h(){p($,"name","hf:doc:metadata"),p($,"content",JSON.stringify(YT)),p(ct,"id","testing"),p(ct,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ct,"href","#testing"),p(C,"class","relative group"),p(ft,"id","how-transformers-are-tested"),p(ft,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ft,"href","#how-transformers-are-tested"),p(_,"class","relative group"),p(mt,"id","running-tests"),p(mt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(mt,"href","#running-tests"),p(j,"class","relative group"),p(wt,"id","choosing-which-tests-to-run"),p(wt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(wt,"href","#choosing-which-tests-to-run"),p(x,"class","relative group"),p(yt,"id","getting-the-list-of-all-tests"),p(yt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(yt,"href","#getting-the-list-of-all-tests"),p(k,"class","relative group"),p(Mt,"id","run-a-specific-test-module"),p(Mt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Mt,"href","#run-a-specific-test-module"),p(U,"class","relative group"),p(vt,"id","run-specific-tests"),p(vt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(vt,"href","#run-specific-tests"),p(I,"class","relative group"),p($t,"id","run-accelerate-tests"),p($t,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p($t,"href","#run-accelerate-tests"),p(Z,"class","relative group"),p(Tt,"id","run-documentation-tests"),p(Tt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Tt,"href","#run-documentation-tests"),p(H,"class","relative group"),p(gt,"id","run-only-modified-tests"),p(gt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(gt,"href","#run-only-modified-tests"),p(G,"class","relative group"),p(bt,"id","automatically-rerun-failed-tests-on-source-modification"),p(bt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(bt,"href","#automatically-rerun-failed-tests-on-source-modification"),p(X,"class","relative group"),p(Jt,"id","skip-a-test-module"),p(Jt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Jt,"href","#skip-a-test-module"),p(N,"class","relative group"),p(Ct,"id","clearing-state"),p(Ct,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Ct,"href","#clearing-state"),p(B,"class","relative group"),p(_t,"id","running-tests-in-parallel"),p(_t,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(_t,"href","#running-tests-in-parallel"),p(V,"class","relative group"),p(jt,"id","test-order-and-repetition"),p(jt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(jt,"href","#test-order-and-repetition"),p(z,"class","relative group"),p(xt,"id","repeat-tests"),p(xt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(xt,"href","#repeat-tests"),p(R,"class","relative group"),p(It,"id","run-tests-in-a-random-order"),p(It,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(It,"href","#run-tests-in-a-random-order"),p(S,"class","relative group"),p(Zt,"id","look-and-feel-variations"),p(Zt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Zt,"href","#look-and-feel-variations"),p(L,"class","relative group"),p(Ht,"id","pytestsugar"),p(Ht,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Ht,"href","#pytestsugar"),p(A,"class","relative group"),p(Gt,"id","report-each-subtest-name-and-its-progress"),p(Gt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Gt,"href","#report-each-subtest-name-and-its-progress"),p(E,"class","relative group"),p(Xt,"id","instantly-shows-failed-tests"),p(Xt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Xt,"href","#instantly-shows-failed-tests"),p(W,"class","relative group"),p(Nt,"id","to-gpu-or-not-to-gpu"),p(Nt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Nt,"href","#to-gpu-or-not-to-gpu"),p(P,"class","relative group"),p(Bt,"id","testing-with-a-specific-pytorch-backend-or-device"),p(Bt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Bt,"href","#testing-with-a-specific-pytorch-backend-or-device"),p(Q,"class","relative group"),p(Vt,"id","distributed-training"),p(Vt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Vt,"href","#distributed-training"),p(F,"class","relative group"),p(zt,"id","output-capture"),p(zt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(zt,"href","#output-capture"),p(q,"class","relative group"),p(Rt,"id","color-control"),p(Rt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Rt,"href","#color-control"),p(Y,"class","relative group"),p(St,"id","sending-test-report-to-online-pastebin-service"),p(St,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(St,"href","#sending-test-report-to-online-pastebin-service"),p(K,"class","relative group"),p(Lt,"id","writing-tests"),p(Lt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Lt,"href","#writing-tests"),p(D,"class","relative group"),p(At,"id","parametrization"),p(At,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(At,"href","#parametrization"),p(O,"class","relative group"),p(Et,"id","files-and-directories"),p(Et,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Et,"href","#files-and-directories"),p(tt,"class","relative group"),p(Wt,"id","temporary-files-and-directories"),p(Wt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Wt,"href","#temporary-files-and-directories"),p(et,"class","relative group"),p(Ft,"id","temporary-syspath-override"),p(Ft,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Ft,"href","#temporary-syspath-override"),p(st,"class","relative group"),p(qt,"id","skipping-tests"),p(qt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(qt,"href","#skipping-tests"),p(lt,"class","relative group"),p(Yt,"id","implementation"),p(Yt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Yt,"href","#implementation"),p(nt,"class","relative group"),p(Kt,"id","slow-tests"),p(Kt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Kt,"href","#slow-tests"),p(it,"class","relative group"),p(Dt,"id","testing-the-stdoutstderr-output"),p(Dt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Dt,"href","#testing-the-stdoutstderr-output"),p(at,"class","relative group"),p(Ot,"id","capturing-logger-stream"),p(Ot,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(Ot,"href","#capturing-logger-stream"),p(ot,"class","relative group"),p(te,"id","testing-with-environment-variables"),p(te,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(te,"href","#testing-with-environment-variables"),p(rt,"class","relative group"),p(ee,"id","getting-reproducible-results"),p(ee,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ee,"href","#getting-reproducible-results"),p(pt,"class","relative group"),p(se,"id","debugging-tests"),p(se,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(se,"href","#debugging-tests"),p(ht,"class","relative group"),p(le,"id","working-with-github-actions-workflows"),p(le,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(le,"href","#working-with-github-actions-workflows"),p(dt,"class","relative group"),p(ne,"id","testing-experimental-ci-features"),p(ne,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),p(ne,"href","#testing-experimental-ci-features"),p(ut,"class","relative group")},m(t,s){h(document.head,$),l(t,g,s),l(t,T,s),l(t,b,s),l(t,C,s),h(C,ct),h(ct,Ao),c(ie,Ao,null),h(C,$m),h(C,to),l(t,Gr,s),l(t,ae,s),l(t,Xr,s),l(t,oe,s),l(t,Nr,s),l(t,re,s),l(t,Br,s),l(t,_,s),h(_,ft),h(ft,Eo),c(pe,Eo,null),h(_,Tm),h(_,eo),l(t,Vr,s),l(t,he,s),l(t,zr,s),c(de,t,s),l(t,Rr,s),l(t,ue,s),l(t,Sr,s),l(t,j,s),h(j,mt),h(mt,Wo),c(ce,Wo,null),h(j,gm),h(j,so),l(t,Lr,s),l(t,x,s),h(x,wt),h(wt,Po),c(fe,Po,null),h(x,bm),h(x,lo),l(t,Ar,s),l(t,me,s),l(t,Er,s),l(t,we,s),l(t,Wr,s),l(t,ye,s),l(t,Pr,s),c(Me,t,s),l(t,Qr,s),l(t,ve,s),l(t,Fr,s),c($e,t,s),l(t,qr,s),l(t,Te,s),l(t,Yr,s),c(ge,t,s),l(t,Kr,s),l(t,be,s),l(t,Dr,s),l(t,Je,s),l(t,Or,s),l(t,k,s),h(k,yt),h(yt,Qo),c(Ce,Qo,null),h(k,Jm),h(k,no),l(t,tp,s),l(t,_e,s),l(t,ep,s),c(je,t,s),l(t,sp,s),l(t,xe,s),l(t,lp,s),c(ke,t,s),l(t,np,s),l(t,U,s),h(U,Mt),h(Mt,Fo),c(Ue,Fo,null),h(U,Cm),h(U,io),l(t,ip,s),l(t,Ie,s),l(t,ap,s),c(Ze,t,s),l(t,op,s),l(t,I,s),h(I,vt),h(vt,qo),c(He,qo,null),h(I,_m),h(I,ao),l(t,rp,s),l(t,Ge,s),l(t,pp,s),c(Xe,t,s),l(t,hp,s),l(t,Ne,s),l(t,dp,s),l(t,Be,s),l(t,up,s),l(t,Ve,s),l(t,cp,s),c(ze,t,s),l(t,fp,s),l(t,Re,s),l(t,mp,s),l(t,Se,s),l(t,wp,s),c(Le,t,s),l(t,yp,s),l(t,Ae,s),l(t,Mp,s),l(t,Ee,s),l(t,vp,s),c(We,t,s),l(t,$p,s),l(t,Pe,s),l(t,Tp,s),l(t,Qe,s),l(t,gp,s),c(Fe,t,s),l(t,bp,s),l(t,qe,s),l(t,Jp,s),c(Ye,t,s),l(t,Cp,s),l(t,Ke,s),l(t,_p,s),c(De,t,s),l(t,jp,s),l(t,Oe,s),l(t,xp,s),l(t,ts,s),l(t,kp,s),c(es,t,s),l(t,Up,s),l(t,Z,s),h(Z,$t),h($t,Yo),c(ss,Yo,null),h(Z,jm),h(Z,oo),l(t,Ip,s),l(t,ls,s),l(t,Zp,s),c(ns,t,s),l(t,Hp,s),l(t,H,s),h(H,Tt),h(Tt,Ko),c(is,Ko,null),h(H,xm),h(H,ro),l(t,Gp,s),l(t,as,s),l(t,Xp,s),c(os,t,s),l(t,Np,s),l(t,rs,s),l(t,Bp,s),c(ps,t,s),l(t,Vp,s),l(t,hs,s),l(t,zp,s),l(t,G,s),h(G,gt),h(gt,Do),c(ds,Do,null),h(G,km),h(G,po),l(t,Rp,s),l(t,us,s),l(t,Sp,s),c(cs,t,s),l(t,Lp,s),c(fs,t,s),l(t,Ap,s),l(t,ms,s),l(t,Ep,s),l(t,X,s),h(X,bt),h(bt,Oo),c(ws,Oo,null),h(X,Um),h(X,ho),l(t,Wp,s),l(t,ys,s),l(t,Pp,s),c(Ms,t,s),l(t,Qp,s),l(t,vs,s),l(t,Fp,s),l(t,$s,s),l(t,qp,s),c(Ts,t,s),l(t,Yp,s),l(t,gs,s),l(t,Kp,s),c(bs,t,s),l(t,Dp,s),l(t,Js,s),l(t,Op,s),l(t,Cs,s),l(t,th,s),l(t,N,s),h(N,Jt),h(Jt,tr),c(_s,tr,null),h(N,Im),h(N,uo),l(t,eh,s),l(t,js,s),l(t,sh,s),c(xs,t,s),l(t,lh,s),l(t,B,s),h(B,Ct),h(Ct,er),c(ks,er,null),h(B,Zm),h(B,co),l(t,nh,s),l(t,Us,s),l(t,ih,s),c(Is,t,s),l(t,ah,s),l(t,V,s),h(V,_t),h(_t,sr),c(Zs,sr,null),h(V,Hm),h(V,fo),l(t,oh,s),l(t,Hs,s),l(t,rh,s),l(t,Gs,s),l(t,ph,s),l(t,Xs,s),l(t,hh,s),l(t,z,s),h(z,jt),h(jt,lr),c(Ns,lr,null),h(z,Gm),h(z,mo),l(t,dh,s),l(t,Bs,s),l(t,uh,s),l(t,R,s),h(R,xt),h(xt,nr),c(Vs,nr,null),h(R,Xm),h(R,wo),l(t,ch,s),l(t,zs,s),l(t,fh,s),c(Rs,t,s),l(t,mh,s),l(t,Ss,s),l(t,wh,s),c(Ls,t,s),l(t,yh,s),c(kt,t,s),l(t,Mh,s),c(Ut,t,s),l(t,vh,s),l(t,S,s),h(S,It),h(It,ir),c(As,ir,null),h(S,Nm),h(S,yo),l(t,$h,s),c(Es,t,s),l(t,Th,s),l(t,Ws,s),l(t,gh,s),l(t,Ps,s),l(t,bh,s),c(Qs,t,s),l(t,Jh,s),l(t,Fs,s),l(t,Ch,s),c(qs,t,s),l(t,_h,s),l(t,Ys,s),l(t,jh,s),c(Ks,t,s),l(t,xh,s),l(t,Ds,s),l(t,kh,s),c(Os,t,s),l(t,Uh,s),l(t,tl,s),l(t,Ih,s),l(t,el,s),l(t,Zh,s),l(t,L,s),h(L,Zt),h(Zt,ar),c(sl,ar,null),h(L,Bm),h(L,Mo),l(t,Hh,s),l(t,A,s),h(A,Ht),h(Ht,or),c(ll,or,null),h(A,Vm),h(A,vo),l(t,Gh,s),l(t,nl,s),l(t,Xh,s),c(il,t,s),l(t,Nh,s),l(t,al,s),l(t,Bh,s),c(ol,t,s),l(t,Vh,s),l(t,rl,s),l(t,zh,s),l(t,E,s),h(E,Gt),h(Gt,rr),c(pl,rr,null),h(E,zm),h(E,$o),l(t,Rh,s),l(t,hl,s),l(t,Sh,s),c(dl,t,s),l(t,Lh,s),l(t,W,s),h(W,Xt),h(Xt,pr),c(ul,pr,null),h(W,Rm),h(W,To),l(t,Ah,s),l(t,cl,s),l(t,Eh,s),c(fl,t,s),l(t,Wh,s),c(ml,t,s),l(t,Ph,s),l(t,P,s),h(P,Nt),h(Nt,hr),c(wl,hr,null),h(P,Sm),h(P,go),l(t,Qh,s),l(t,yl,s),l(t,Fh,s),c(Ml,t,s),l(t,qh,s),l(t,vl,s),l(t,Yh,s),c($l,t,s),l(t,Kh,s),l(t,Tl,s),l(t,Dh,s),l(t,gl,s),l(t,Oh,s),l(t,bl,s),l(t,td,s),l(t,Jl,s),l(t,ed,s),l(t,Cl,s),l(t,sd,s),l(t,_l,s),l(t,ld,s),c(jl,t,s),l(t,nd,s),l(t,xl,s),l(t,id,s),c(kl,t,s),l(t,ad,s),l(t,Ul,s),l(t,od,s),c(Il,t,s),l(t,rd,s),l(t,Zl,s),l(t,pd,s),c(Hl,t,s),l(t,hd,s),l(t,Gl,s),l(t,dd,s),l(t,Xl,s),l(t,ud,s),l(t,Nl,s),l(t,cd,s),c(Bl,t,s),l(t,fd,s),l(t,Q,s),h(Q,Bt),h(Bt,dr),c(Vl,dr,null),h(Q,Lm),h(Q,bo),l(t,md,s),l(t,zl,s),l(t,wd,s),c(Rl,t,s),l(t,yd,s),l(t,Sl,s),l(t,Md,s),l(t,Ll,s),l(t,vd,s),c(Al,t,s),l(t,$d,s),l(t,F,s),h(F,Vt),h(Vt,ur),c(El,ur,null),h(F,Am),h(F,Jo),l(t,Td,s),l(t,Wl,s),l(t,gd,s),l(t,Pl,s),l(t,bd,s),l(t,Ql,s),l(t,Jd,s),l(t,Fl,s),l(t,Cd,s),l(t,ql,s),l(t,_d,s),c(Yl,t,s),l(t,jd,s),l(t,q,s),h(q,zt),h(zt,cr),c(Kl,cr,null),h(q,Em),h(q,Co),l(t,xd,s),l(t,Dl,s),l(t,kd,s),l(t,Ol,s),l(t,Ud,s),c(tn,t,s),l(t,Id,s),l(t,en,s),l(t,Zd,s),c(sn,t,s),l(t,Hd,s),l(t,Y,s),h(Y,Rt),h(Rt,fr),c(ln,fr,null),h(Y,Wm),h(Y,_o),l(t,Gd,s),l(t,nn,s),l(t,Xd,s),c(an,t,s),l(t,Nd,s),l(t,K,s),h(K,St),h(St,mr),c(on,mr,null),h(K,Pm),h(K,jo),l(t,Bd,s),l(t,rn,s),l(t,Vd,s),c(pn,t,s),l(t,zd,s),l(t,hn,s),l(t,Rd,s),l(t,dn,s),l(t,Sd,s),c(un,t,s),l(t,Ld,s),l(t,D,s),h(D,Lt),h(Lt,wr),c(cn,wr,null),h(D,Qm),h(D,xo),l(t,Ad,s),l(t,fn,s),l(t,Ed,s),l(t,mn,s),l(t,Wd,s),l(t,O,s),h(O,At),h(At,yr),c(wn,yr,null),h(O,Fm),h(O,ko),l(t,Pd,s),l(t,yn,s),l(t,Qd,s),c(Mn,t,s),l(t,Fd,s),l(t,vn,s),l(t,qd,s),l(t,$n,s),l(t,Yd,s),c(Tn,t,s),l(t,Kd,s),l(t,gn,s),l(t,Dd,s),c(bn,t,s),l(t,Od,s),l(t,Jn,s),l(t,tu,s),c(Cn,t,s),l(t,eu,s),l(t,_n,s),l(t,su,s),c(jn,t,s),l(t,lu,s),l(t,xn,s),l(t,nu,s),c(kn,t,s),l(t,iu,s),l(t,Un,s),l(t,au,s),l(t,In,s),l(t,ou,s),l(t,Zn,s),l(t,ru,s),c(Hn,t,s),l(t,pu,s),l(t,Gn,s),l(t,hu,s),c(Xn,t,s),l(t,du,s),l(t,Nn,s),l(t,uu,s),c(Bn,t,s),l(t,cu,s),l(t,Vn,s),l(t,fu,s),c(zn,t,s),l(t,mu,s),l(t,Rn,s),l(t,wu,s),l(t,tt,s),h(tt,Et),h(Et,Mr),c(Sn,Mr,null),h(tt,qm),h(tt,Uo),l(t,yu,s),l(t,Ln,s),l(t,Mu,s),l(t,An,s),l(t,vu,s),l(t,En,s),l(t,$u,s),c(Wn,t,s),l(t,Tu,s),l(t,Pn,s),l(t,gu,s),c(Qn,t,s),l(t,bu,s),l(t,et,s),h(et,Wt),h(Wt,vr),c(Fn,vr,null),h(et,Ym),h(et,Io),l(t,Ju,s),l(t,qn,s),l(t,Cu,s),l(t,Yn,s),l(t,_u,s),l(t,Kn,s),l(t,ju,s),l(t,Dn,s),l(t,xu,s),c(On,t,s),l(t,ku,s),l(t,ti,s),l(t,Uu,s),l(t,ei,s),l(t,Iu,s),c(si,t,s),l(t,Zu,s),l(t,li,s),l(t,Hu,s),l(t,ni,s),l(t,Gu,s),c(ii,t,s),l(t,Xu,s),l(t,ai,s),l(t,Nu,s),l(t,oi,s),l(t,Bu,s),c(Pt,t,s),l(t,Vu,s),c(Qt,t,s),l(t,zu,s),l(t,st,s),h(st,Ft),h(Ft,$r),c(ri,$r,null),h(st,Km),h(st,Zo),l(t,Ru,s),l(t,pi,s),l(t,Su,s),c(hi,t,s),l(t,Lu,s),l(t,lt,s),h(lt,qt),h(qt,Tr),c(di,Tr,null),h(lt,Dm),h(lt,Ho),l(t,Au,s),l(t,ui,s),l(t,Eu,s),l(t,ci,s),l(t,Wu,s),l(t,fi,s),l(t,Pu,s),l(t,mi,s),l(t,Qu,s),l(t,nt,s),h(nt,Yt),h(Yt,gr),c(wi,gr,null),h(nt,Om),h(nt,Go),l(t,Fu,s),l(t,yi,s),l(t,qu,s),c(Mi,t,s),l(t,Yu,s),l(t,vi,s),l(t,Ku,s),c($i,t,s),l(t,Du,s),l(t,Ti,s),l(t,Ou,s),c(gi,t,s),l(t,tc,s),l(t,bi,s),l(t,ec,s),c(Ji,t,s),l(t,sc,s),l(t,Ci,s),l(t,lc,s),c(_i,t,s),l(t,nc,s),l(t,ji,s),l(t,ic,s),c(xi,t,s),l(t,ac,s),l(t,ki,s),l(t,oc,s),c(Ui,t,s),l(t,rc,s),l(t,Ii,s),l(t,pc,s),c(Zi,t,s),l(t,hc,s),l(t,Hi,s),l(t,dc,s),c(Gi,t,s),l(t,uc,s),l(t,Xi,s),l(t,cc,s),c(Ni,t,s),l(t,fc,s),l(t,Bi,s),l(t,mc,s),l(t,it,s),h(it,Kt),h(Kt,br),c(Vi,br,null),h(it,tw),h(it,Xo),l(t,wc,s),l(t,zi,s),l(t,yc,s),c(Ri,t,s),l(t,Mc,s),l(t,Si,s),l(t,vc,s),c(Li,t,s),l(t,$c,s),l(t,Ai,s),l(t,Tc,s),c(Ei,t,s),l(t,gc,s),l(t,Wi,s),l(t,bc,s),l(t,Pi,s),l(t,Jc,s),l(t,Qi,s),l(t,Cc,s),l(t,Fi,s),l(t,_c,s),l(t,qi,s),l(t,jc,s),c(Yi,t,s),l(t,xc,s),l(t,Ki,s),l(t,kc,s),l(t,Di,s),l(t,Uc,s),l(t,Oi,s),l(t,Ic,s),l(t,at,s),h(at,Dt),h(Dt,Jr),c(ta,Jr,null),h(at,ew),h(at,No),l(t,Zc,s),l(t,ea,s),l(t,Hc,s),c(sa,t,s),l(t,Gc,s),l(t,la,s),l(t,Xc,s),c(na,t,s),l(t,Nc,s),l(t,ia,s),l(t,Bc,s),c(aa,t,s),l(t,Vc,s),l(t,oa,s),l(t,zc,s),l(t,ra,s),l(t,Rc,s),c(pa,t,s),l(t,Sc,s),l(t,ha,s),l(t,Lc,s),c(da,t,s),l(t,Ac,s),l(t,ua,s),l(t,Ec,s),c(ca,t,s),l(t,Wc,s),l(t,fa,s),l(t,Pc,s),c(ma,t,s),l(t,Qc,s),l(t,wa,s),l(t,Fc,s),l(t,ot,s),h(ot,Ot),h(Ot,Cr),c(ya,Cr,null),h(ot,sw),h(ot,Bo),l(t,qc,s),l(t,Ma,s),l(t,Yc,s),c(va,t,s),l(t,Kc,s),l(t,rt,s),h(rt,te),h(te,_r),c($a,_r,null),h(rt,lw),h(rt,Vo),l(t,Dc,s),l(t,Ta,s),l(t,Oc,s),c(ga,t,s),l(t,tf,s),l(t,ba,s),l(t,ef,s),c(Ja,t,s),l(t,sf,s),l(t,Ca,s),l(t,lf,s),l(t,_a,s),l(t,nf,s),l(t,pt,s),h(pt,ee),h(ee,jr),c(ja,jr,null),h(pt,nw),h(pt,zo),l(t,af,s),l(t,xa,s),l(t,of,s),c(ka,t,s),l(t,rf,s),l(t,ht,s),h(ht,se),h(se,xr),c(Ua,xr,null),h(ht,iw),h(ht,Ro),l(t,pf,s),l(t,Ia,s),l(t,hf,s),c(Za,t,s),l(t,df,s),l(t,dt,s),h(dt,le),h(le,kr),c(Ha,kr,null),h(dt,aw),h(dt,So),l(t,uf,s),l(t,Ga,s),l(t,cf,s),l(t,Xa,s),l(t,ff,s),l(t,ut,s),h(ut,ne),h(ne,Ur),c(Na,Ur,null),h(ut,ow),h(ut,Lo),l(t,mf,s),l(t,Ba,s),l(t,wf,s),l(t,Va,s),l(t,yf,s),l(t,za,s),l(t,Mf,s),l(t,Ra,s),l(t,vf,s),l(t,Sa,s),l(t,$f,s),l(t,La,s),l(t,Tf,s),l(t,Aa,s),l(t,gf,s),l(t,Ea,s),l(t,bf,s),c(Wa,t,s),l(t,Jf,s),l(t,Pa,s),l(t,Cf,s),c(Qa,t,s),l(t,_f,s),l(t,Fa,s),l(t,jf,s),l(t,qa,s),l(t,xf,s),l(t,Ya,s),l(t,kf,s),l(t,Ka,s),l(t,Uf,s),l(t,Ir,s),If=!0},p(t,[s]){const Da={};s&2&&(Da.$$scope={dirty:s,ctx:t}),kt.$set(Da);const Zr={};s&2&&(Zr.$$scope={dirty:s,ctx:t}),Ut.$set(Zr);const Hr={};s&2&&(Hr.$$scope={dirty:s,ctx:t}),Pt.$set(Hr);const Oa={};s&2&&(Oa.$$scope={dirty:s,ctx:t}),Qt.$set(Oa)},i(t){If||(f(ie.$$.fragment,t),f(pe.$$.fragment,t),f(de.$$.fragment,t),f(ce.$$.fragment,t),f(fe.$$.fragment,t),f(Me.$$.fragment,t),f($e.$$.fragment,t),f(ge.$$.fragment,t),f(Ce.$$.fragment,t),f(je.$$.fragment,t),f(ke.$$.fragment,t),f(Ue.$$.fragment,t),f(Ze.$$.fragment,t),f(He.$$.fragment,t),f(Xe.$$.fragment,t),f(ze.$$.fragment,t),f(Le.$$.fragment,t),f(We.$$.fragment,t),f(Fe.$$.fragment,t),f(Ye.$$.fragment,t),f(De.$$.fragment,t),f(es.$$.fragment,t),f(ss.$$.fragment,t),f(ns.$$.fragment,t),f(is.$$.fragment,t),f(os.$$.fragment,t),f(ps.$$.fragment,t),f(ds.$$.fragment,t),f(cs.$$.fragment,t),f(fs.$$.fragment,t),f(ws.$$.fragment,t),f(Ms.$$.fragment,t),f(Ts.$$.fragment,t),f(bs.$$.fragment,t),f(_s.$$.fragment,t),f(xs.$$.fragment,t),f(ks.$$.fragment,t),f(Is.$$.fragment,t),f(Zs.$$.fragment,t),f(Ns.$$.fragment,t),f(Vs.$$.fragment,t),f(Rs.$$.fragment,t),f(Ls.$$.fragment,t),f(kt.$$.fragment,t),f(Ut.$$.fragment,t),f(As.$$.fragment,t),f(Es.$$.fragment,t),f(Qs.$$.fragment,t),f(qs.$$.fragment,t),f(Ks.$$.fragment,t),f(Os.$$.fragment,t),f(sl.$$.fragment,t),f(ll.$$.fragment,t),f(il.$$.fragment,t),f(ol.$$.fragment,t),f(pl.$$.fragment,t),f(dl.$$.fragment,t),f(ul.$$.fragment,t),f(fl.$$.fragment,t),f(ml.$$.fragment,t),f(wl.$$.fragment,t),f(Ml.$$.fragment,t),f($l.$$.fragment,t),f(jl.$$.fragment,t),f(kl.$$.fragment,t),f(Il.$$.fragment,t),f(Hl.$$.fragment,t),f(Bl.$$.fragment,t),f(Vl.$$.fragment,t),f(Rl.$$.fragment,t),f(Al.$$.fragment,t),f(El.$$.fragment,t),f(Yl.$$.fragment,t),f(Kl.$$.fragment,t),f(tn.$$.fragment,t),f(sn.$$.fragment,t),f(ln.$$.fragment,t),f(an.$$.fragment,t),f(on.$$.fragment,t),f(pn.$$.fragment,t),f(un.$$.fragment,t),f(cn.$$.fragment,t),f(wn.$$.fragment,t),f(Mn.$$.fragment,t),f(Tn.$$.fragment,t),f(bn.$$.fragment,t),f(Cn.$$.fragment,t),f(jn.$$.fragment,t),f(kn.$$.fragment,t),f(Hn.$$.fragment,t),f(Xn.$$.fragment,t),f(Bn.$$.fragment,t),f(zn.$$.fragment,t),f(Sn.$$.fragment,t),f(Wn.$$.fragment,t),f(Qn.$$.fragment,t),f(Fn.$$.fragment,t),f(On.$$.fragment,t),f(si.$$.fragment,t),f(ii.$$.fragment,t),f(Pt.$$.fragment,t),f(Qt.$$.fragment,t),f(ri.$$.fragment,t),f(hi.$$.fragment,t),f(di.$$.fragment,t),f(wi.$$.fragment,t),f(Mi.$$.fragment,t),f($i.$$.fragment,t),f(gi.$$.fragment,t),f(Ji.$$.fragment,t),f(_i.$$.fragment,t),f(xi.$$.fragment,t),f(Ui.$$.fragment,t),f(Zi.$$.fragment,t),f(Gi.$$.fragment,t),f(Ni.$$.fragment,t),f(Vi.$$.fragment,t),f(Ri.$$.fragment,t),f(Li.$$.fragment,t),f(Ei.$$.fragment,t),f(Yi.$$.fragment,t),f(ta.$$.fragment,t),f(sa.$$.fragment,t),f(na.$$.fragment,t),f(aa.$$.fragment,t),f(pa.$$.fragment,t),f(da.$$.fragment,t),f(ca.$$.fragment,t),f(ma.$$.fragment,t),f(ya.$$.fragment,t),f(va.$$.fragment,t),f($a.$$.fragment,t),f(ga.$$.fragment,t),f(Ja.$$.fragment,t),f(ja.$$.fragment,t),f(ka.$$.fragment,t),f(Ua.$$.fragment,t),f(Za.$$.fragment,t),f(Ha.$$.fragment,t),f(Na.$$.fragment,t),f(Wa.$$.fragment,t),f(Qa.$$.fragment,t),If=!0)},o(t){m(ie.$$.fragment,t),m(pe.$$.fragment,t),m(de.$$.fragment,t),m(ce.$$.fragment,t),m(fe.$$.fragment,t),m(Me.$$.fragment,t),m($e.$$.fragment,t),m(ge.$$.fragment,t),m(Ce.$$.fragment,t),m(je.$$.fragment,t),m(ke.$$.fragment,t),m(Ue.$$.fragment,t),m(Ze.$$.fragment,t),m(He.$$.fragment,t),m(Xe.$$.fragment,t),m(ze.$$.fragment,t),m(Le.$$.fragment,t),m(We.$$.fragment,t),m(Fe.$$.fragment,t),m(Ye.$$.fragment,t),m(De.$$.fragment,t),m(es.$$.fragment,t),m(ss.$$.fragment,t),m(ns.$$.fragment,t),m(is.$$.fragment,t),m(os.$$.fragment,t),m(ps.$$.fragment,t),m(ds.$$.fragment,t),m(cs.$$.fragment,t),m(fs.$$.fragment,t),m(ws.$$.fragment,t),m(Ms.$$.fragment,t),m(Ts.$$.fragment,t),m(bs.$$.fragment,t),m(_s.$$.fragment,t),m(xs.$$.fragment,t),m(ks.$$.fragment,t),m(Is.$$.fragment,t),m(Zs.$$.fragment,t),m(Ns.$$.fragment,t),m(Vs.$$.fragment,t),m(Rs.$$.fragment,t),m(Ls.$$.fragment,t),m(kt.$$.fragment,t),m(Ut.$$.fragment,t),m(As.$$.fragment,t),m(Es.$$.fragment,t),m(Qs.$$.fragment,t),m(qs.$$.fragment,t),m(Ks.$$.fragment,t),m(Os.$$.fragment,t),m(sl.$$.fragment,t),m(ll.$$.fragment,t),m(il.$$.fragment,t),m(ol.$$.fragment,t),m(pl.$$.fragment,t),m(dl.$$.fragment,t),m(ul.$$.fragment,t),m(fl.$$.fragment,t),m(ml.$$.fragment,t),m(wl.$$.fragment,t),m(Ml.$$.fragment,t),m($l.$$.fragment,t),m(jl.$$.fragment,t),m(kl.$$.fragment,t),m(Il.$$.fragment,t),m(Hl.$$.fragment,t),m(Bl.$$.fragment,t),m(Vl.$$.fragment,t),m(Rl.$$.fragment,t),m(Al.$$.fragment,t),m(El.$$.fragment,t),m(Yl.$$.fragment,t),m(Kl.$$.fragment,t),m(tn.$$.fragment,t),m(sn.$$.fragment,t),m(ln.$$.fragment,t),m(an.$$.fragment,t),m(on.$$.fragment,t),m(pn.$$.fragment,t),m(un.$$.fragment,t),m(cn.$$.fragment,t),m(wn.$$.fragment,t),m(Mn.$$.fragment,t),m(Tn.$$.fragment,t),m(bn.$$.fragment,t),m(Cn.$$.fragment,t),m(jn.$$.fragment,t),m(kn.$$.fragment,t),m(Hn.$$.fragment,t),m(Xn.$$.fragment,t),m(Bn.$$.fragment,t),m(zn.$$.fragment,t),m(Sn.$$.fragment,t),m(Wn.$$.fragment,t),m(Qn.$$.fragment,t),m(Fn.$$.fragment,t),m(On.$$.fragment,t),m(si.$$.fragment,t),m(ii.$$.fragment,t),m(Pt.$$.fragment,t),m(Qt.$$.fragment,t),m(ri.$$.fragment,t),m(hi.$$.fragment,t),m(di.$$.fragment,t),m(wi.$$.fragment,t),m(Mi.$$.fragment,t),m($i.$$.fragment,t),m(gi.$$.fragment,t),m(Ji.$$.fragment,t),m(_i.$$.fragment,t),m(xi.$$.fragment,t),m(Ui.$$.fragment,t),m(Zi.$$.fragment,t),m(Gi.$$.fragment,t),m(Ni.$$.fragment,t),m(Vi.$$.fragment,t),m(Ri.$$.fragment,t),m(Li.$$.fragment,t),m(Ei.$$.fragment,t),m(Yi.$$.fragment,t),m(ta.$$.fragment,t),m(sa.$$.fragment,t),m(na.$$.fragment,t),m(aa.$$.fragment,t),m(pa.$$.fragment,t),m(da.$$.fragment,t),m(ca.$$.fragment,t),m(ma.$$.fragment,t),m(ya.$$.fragment,t),m(va.$$.fragment,t),m($a.$$.fragment,t),m(ga.$$.fragment,t),m(Ja.$$.fragment,t),m(ja.$$.fragment,t),m(ka.$$.fragment,t),m(Ua.$$.fragment,t),m(Za.$$.fragment,t),m(Ha.$$.fragment,t),m(Na.$$.fragment,t),m(Wa.$$.fragment,t),m(Qa.$$.fragment,t),If=!1},d(t){t&&(e(g),e(T),e(b),e(C),e(Gr),e(ae),e(Xr),e(oe),e(Nr),e(re),e(Br),e(_),e(Vr),e(he),e(zr),e(Rr),e(ue),e(Sr),e(j),e(Lr),e(x),e(Ar),e(me),e(Er),e(we),e(Wr),e(ye),e(Pr),e(Qr),e(ve),e(Fr),e(qr),e(Te),e(Yr),e(Kr),e(be),e(Dr),e(Je),e(Or),e(k),e(tp),e(_e),e(ep),e(sp),e(xe),e(lp),e(np),e(U),e(ip),e(Ie),e(ap),e(op),e(I),e(rp),e(Ge),e(pp),e(hp),e(Ne),e(dp),e(Be),e(up),e(Ve),e(cp),e(fp),e(Re),e(mp),e(Se),e(wp),e(yp),e(Ae),e(Mp),e(Ee),e(vp),e($p),e(Pe),e(Tp),e(Qe),e(gp),e(bp),e(qe),e(Jp),e(Cp),e(Ke),e(_p),e(jp),e(Oe),e(xp),e(ts),e(kp),e(Up),e(Z),e(Ip),e(ls),e(Zp),e(Hp),e(H),e(Gp),e(as),e(Xp),e(Np),e(rs),e(Bp),e(Vp),e(hs),e(zp),e(G),e(Rp),e(us),e(Sp),e(Lp),e(Ap),e(ms),e(Ep),e(X),e(Wp),e(ys),e(Pp),e(Qp),e(vs),e(Fp),e($s),e(qp),e(Yp),e(gs),e(Kp),e(Dp),e(Js),e(Op),e(Cs),e(th),e(N),e(eh),e(js),e(sh),e(lh),e(B),e(nh),e(Us),e(ih),e(ah),e(V),e(oh),e(Hs),e(rh),e(Gs),e(ph),e(Xs),e(hh),e(z),e(dh),e(Bs),e(uh),e(R),e(ch),e(zs),e(fh),e(mh),e(Ss),e(wh),e(yh),e(Mh),e(vh),e(S),e($h),e(Th),e(Ws),e(gh),e(Ps),e(bh),e(Jh),e(Fs),e(Ch),e(_h),e(Ys),e(jh),e(xh),e(Ds),e(kh),e(Uh),e(tl),e(Ih),e(el),e(Zh),e(L),e(Hh),e(A),e(Gh),e(nl),e(Xh),e(Nh),e(al),e(Bh),e(Vh),e(rl),e(zh),e(E),e(Rh),e(hl),e(Sh),e(Lh),e(W),e(Ah),e(cl),e(Eh),e(Wh),e(Ph),e(P),e(Qh),e(yl),e(Fh),e(qh),e(vl),e(Yh),e(Kh),e(Tl),e(Dh),e(gl),e(Oh),e(bl),e(td),e(Jl),e(ed),e(Cl),e(sd),e(_l),e(ld),e(nd),e(xl),e(id),e(ad),e(Ul),e(od),e(rd),e(Zl),e(pd),e(hd),e(Gl),e(dd),e(Xl),e(ud),e(Nl),e(cd),e(fd),e(Q),e(md),e(zl),e(wd),e(yd),e(Sl),e(Md),e(Ll),e(vd),e($d),e(F),e(Td),e(Wl),e(gd),e(Pl),e(bd),e(Ql),e(Jd),e(Fl),e(Cd),e(ql),e(_d),e(jd),e(q),e(xd),e(Dl),e(kd),e(Ol),e(Ud),e(Id),e(en),e(Zd),e(Hd),e(Y),e(Gd),e(nn),e(Xd),e(Nd),e(K),e(Bd),e(rn),e(Vd),e(zd),e(hn),e(Rd),e(dn),e(Sd),e(Ld),e(D),e(Ad),e(fn),e(Ed),e(mn),e(Wd),e(O),e(Pd),e(yn),e(Qd),e(Fd),e(vn),e(qd),e($n),e(Yd),e(Kd),e(gn),e(Dd),e(Od),e(Jn),e(tu),e(eu),e(_n),e(su),e(lu),e(xn),e(nu),e(iu),e(Un),e(au),e(In),e(ou),e(Zn),e(ru),e(pu),e(Gn),e(hu),e(du),e(Nn),e(uu),e(cu),e(Vn),e(fu),e(mu),e(Rn),e(wu),e(tt),e(yu),e(Ln),e(Mu),e(An),e(vu),e(En),e($u),e(Tu),e(Pn),e(gu),e(bu),e(et),e(Ju),e(qn),e(Cu),e(Yn),e(_u),e(Kn),e(ju),e(Dn),e(xu),e(ku),e(ti),e(Uu),e(ei),e(Iu),e(Zu),e(li),e(Hu),e(ni),e(Gu),e(Xu),e(ai),e(Nu),e(oi),e(Bu),e(Vu),e(zu),e(st),e(Ru),e(pi),e(Su),e(Lu),e(lt),e(Au),e(ui),e(Eu),e(ci),e(Wu),e(fi),e(Pu),e(mi),e(Qu),e(nt),e(Fu),e(yi),e(qu),e(Yu),e(vi),e(Ku),e(Du),e(Ti),e(Ou),e(tc),e(bi),e(ec),e(sc),e(Ci),e(lc),e(nc),e(ji),e(ic),e(ac),e(ki),e(oc),e(rc),e(Ii),e(pc),e(hc),e(Hi),e(dc),e(uc),e(Xi),e(cc),e(fc),e(Bi),e(mc),e(it),e(wc),e(zi),e(yc),e(Mc),e(Si),e(vc),e($c),e(Ai),e(Tc),e(gc),e(Wi),e(bc),e(Pi),e(Jc),e(Qi),e(Cc),e(Fi),e(_c),e(qi),e(jc),e(xc),e(Ki),e(kc),e(Di),e(Uc),e(Oi),e(Ic),e(at),e(Zc),e(ea),e(Hc),e(Gc),e(la),e(Xc),e(Nc),e(ia),e(Bc),e(Vc),e(oa),e(zc),e(ra),e(Rc),e(Sc),e(ha),e(Lc),e(Ac),e(ua),e(Ec),e(Wc),e(fa),e(Pc),e(Qc),e(wa),e(Fc),e(ot),e(qc),e(Ma),e(Yc),e(Kc),e(rt),e(Dc),e(Ta),e(Oc),e(tf),e(ba),e(ef),e(sf),e(Ca),e(lf),e(_a),e(nf),e(pt),e(af),e(xa),e(of),e(rf),e(ht),e(pf),e(Ia),e(hf),e(df),e(dt),e(uf),e(Ga),e(cf),e(Xa),e(ff),e(ut),e(mf),e(Ba),e(wf),e(Va),e(yf),e(za),e(Mf),e(Ra),e(vf),e(Sa),e($f),e(La),e(Tf),e(Aa),e(gf),e(Ea),e(bf),e(Jf),e(Pa),e(Cf),e(_f),e(Fa),e(jf),e(qa),e(xf),e(Ya),e(kf),e(Ka),e(Uf),e(Ir)),e($),w(ie),w(pe),w(de,t),w(ce),w(fe),w(Me,t),w($e,t),w(ge,t),w(Ce),w(je,t),w(ke,t),w(Ue),w(Ze,t),w(He),w(Xe,t),w(ze,t),w(Le,t),w(We,t),w(Fe,t),w(Ye,t),w(De,t),w(es,t),w(ss),w(ns,t),w(is),w(os,t),w(ps,t),w(ds),w(cs,t),w(fs,t),w(ws),w(Ms,t),w(Ts,t),w(bs,t),w(_s),w(xs,t),w(ks),w(Is,t),w(Zs),w(Ns),w(Vs),w(Rs,t),w(Ls,t),w(kt,t),w(Ut,t),w(As),w(Es,t),w(Qs,t),w(qs,t),w(Ks,t),w(Os,t),w(sl),w(ll),w(il,t),w(ol,t),w(pl),w(dl,t),w(ul),w(fl,t),w(ml,t),w(wl),w(Ml,t),w($l,t),w(jl,t),w(kl,t),w(Il,t),w(Hl,t),w(Bl,t),w(Vl),w(Rl,t),w(Al,t),w(El),w(Yl,t),w(Kl),w(tn,t),w(sn,t),w(ln),w(an,t),w(on),w(pn,t),w(un,t),w(cn),w(wn),w(Mn,t),w(Tn,t),w(bn,t),w(Cn,t),w(jn,t),w(kn,t),w(Hn,t),w(Xn,t),w(Bn,t),w(zn,t),w(Sn),w(Wn,t),w(Qn,t),w(Fn),w(On,t),w(si,t),w(ii,t),w(Pt,t),w(Qt,t),w(ri),w(hi,t),w(di),w(wi),w(Mi,t),w($i,t),w(gi,t),w(Ji,t),w(_i,t),w(xi,t),w(Ui,t),w(Zi,t),w(Gi,t),w(Ni,t),w(Vi),w(Ri,t),w(Li,t),w(Ei,t),w(Yi,t),w(ta),w(sa,t),w(na,t),w(aa,t),w(pa,t),w(da,t),w(ca,t),w(ma,t),w(ya),w(va,t),w($a),w(ga,t),w(Ja,t),w(ja),w(ka,t),w(Ua),w(Za,t),w(Ha),w(Na),w(Wa,t),w(Qa,t)}}}const YT={local:"testing",sections:[{local:"how-transformers-are-tested",title:"How transformers are tested"},{local:"running-tests",sections:[{local:"choosing-which-tests-to-run",title:"Choosing which tests to run"},{local:"getting-the-list-of-all-tests",title:"Getting the list of all tests"},{local:"run-a-specific-test-module",title:"Run a specific test module"},{local:"run-specific-tests",title:"Run specific tests"},{local:"run-accelerate-tests",title:"Run `accelerate` tests"},{local:"run-documentation-tests",title:"Run documentation tests "},{local:"run-only-modified-tests",title:"Run only modified tests"},{local:"automatically-rerun-failed-tests-on-source-modification",title:"Automatically rerun failed tests on source modification"},{local:"skip-a-test-module",title:"Skip a test module"},{local:"clearing-state",title:"Clearing state"},{local:"running-tests-in-parallel",title:"Running tests in parallel"},{local:"test-order-and-repetition",sections:[{local:"repeat-tests",title:"Repeat tests"},{local:"run-tests-in-a-random-order",title:"Run tests in a random order"}],title:"Test order and repetition"},{local:"look-and-feel-variations",sections:[{local:"pytestsugar",title:"pytest-sugar"},{local:"report-each-subtest-name-and-its-progress",title:"Report each sub-test name and its progress"},{local:"instantly-shows-failed-tests",title:"Instantly shows failed tests"}],title:"Look and feel variations"},{local:"to-gpu-or-not-to-gpu",title:"To GPU or not to GPU"},{local:"testing-with-a-specific-pytorch-backend-or-device",title:"Testing with a specific PyTorch backend or device"},{local:"distributed-training",title:"Distributed training"},{local:"output-capture",title:"Output capture"},{local:"color-control",title:"Color control"},{local:"sending-test-report-to-online-pastebin-service",title:"Sending test report to online pastebin service"}],title:"Running tests"},{local:"writing-tests",sections:[{local:"parametrization",title:"Parametrization"},{local:"files-and-directories",title:"Files and directories"},{local:"temporary-files-and-directories",title:"Temporary files and directories"},{local:"temporary-syspath-override",title:"Temporary sys.path override"},{local:"skipping-tests",sections:[{local:"implementation",title:"Implementation"}],title:"Skipping tests"},{local:"slow-tests",title:"Slow tests"},{local:"testing-the-stdoutstderr-output",title:"Testing the stdout/stderr output"},{local:"capturing-logger-stream",title:"Capturing logger stream"},{local:"testing-with-environment-variables",title:"Testing with environment variables"},{local:"getting-reproducible-results",title:"Getting reproducible results"},{local:"debugging-tests",title:"Debugging tests"}],title:"Writing tests"},{local:"working-with-github-actions-workflows",title:"Working with github actions workflows"},{local:"testing-experimental-ci-features",title:"Testing Experimental CI Features"}],title:"Testing"};function KT(J){return ST(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class lg extends LT{constructor($){super(),AT(this,$,KT,qT,RT,{})}}export{lg as component};
