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