§ |<ˆjB ãóÞ—dZddlmZddlmZddlmZddlmZerddlm Z e dZ eGd„d e¦«¦«Z e e ¦«Z d „ee ¦«D¦«Zd „e D¦«Zd S) a" Scope definition and related utilities. Those are defined here, instead of in the 'fixtures' module because their use is spread across many other pytest modules, and centralizing it in 'fixtures' would cause circular references. Also this makes the module light to import, as it should. é)ÚEnum)Útotal_ordering)ÚOptional)Ú TYPE_CHECKING)ÚLiteral)ÚsessionÚpackageÚmoduleÚclassÚfunctionc ó²—eZdZUdZdZded<dZded<dZded<d Zded <d Z ded <dd„Z dd„Z ddd e fd„Z e ddddedeed dfd„¦«ZdS)ÚScopezì Represents one of the possible fixture scopes in pytest. Scopes are ordered from lower to higher, that is: ->>> higher ->>> Function < Class < Module < Package < Session <<<- lower <<<- r Ú _ScopeNameÚFunctionr ÚClassr ÚModuler ÚPackagerÚSessionÚreturncól—t|}|dkrt|›d�¦«‚t|dz S)zReturn the next lower scope.rz is the lower-most scopeé)Ú_SCOPE_INDICESÚ ValueErrorÚ _ALL_SCOPES©ÚselfÚindexs ú_/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/_pytest/scope.pyÚ next_lowerzScope.next_lower*s;€å˜tÔ$ˆØ �AŠ:ˆ:Ý Ð>Ð>Ð>Ñ?Ô?Ð ?ݘ5 1™9Ô%Ð%ócó–—t|}|tt¦«dz krt|›d�¦«‚t|dzS)zReturn the next higher scope.rz is the upper-most scope)rÚlenrrrs rÚ next_higherzScope.next_higher1sJ€å˜tÔ$ˆØ •C�Ñ'Ô'¨!Ñ+Ò +Ð +Ý Ð>Ð>Ð>Ñ?Ô?Ð ?ݘ5 1™9Ô%Ð%r ÚothercóB—t|}t|}||kS©N)r)rr$Ú self_indexÚ other_indexs rÚ__lt__z Scope.__lt__8s!€Ý# DÔ)ˆ Ý$ UÔ+ˆ ؘKÒ'Ð'r NÚ scope_nameÚdescrÚwherec ó¨—ddlm} t|¦«}n:#t$r-|d ||rd|›d�nd|¦«d¬¦«YnwxYw|S) a Given a scope name from the user, return the equivalent Scope enum. Should be used whenever we want to convert a user provided scope name to its enum object. If the scope name is invalid, construct a user friendly message and call pytest.fail. r)Úfailz'{} {}got an unexpected scope value '{}'zfrom ú ÚF)Úpytrace)Ú_pytest.outcomesr.rrÚformat)Úclsr*r+r,r.Úscopes rÚ from_userzScope.from_user=s¤€ð *Ð)Ð)Ð)Ð)Ð)ð å˜*Ñ%Ô%ˆEˆEøÝð ð ð Ø ˆDØ9×@Ò@بuÐ<Ð+ 5Ð+Ð+Ð+Ð+¸"¸jñôðð  ñ ô ð ð ð ð øøøðˆ sˆ˜4AÁA)rrr&)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚ__annotations__rrrrrr#Úboolr)Ú classmethodÚstrrr6©r rrrs€€€€€€ð ð ð(€HˆlÐ'Ð'Ñ'Ø!€Eˆ<Ð!Ð!Ñ!Ø#€FˆLÐ#Ð#Ñ#Ø%€Gˆ\Ð%Ð%Ñ%Ø%€Gˆ\Ð%Ð%Ñ%ð&ð&ð&ð&ð&ð&ð&ð&ð(˜Gð(¨ð(ð(ð(ð(ð àJNððØ%ðØ.1ðØ:BÀ3¼-ðà ðððñ„[ðððr rcó—i|]\}}||“Œ Sr?r?)Ú.0rr5s rú rBWs€ÐJÐJÐJ¡< 5¨%�%˜ÐJÐJÐJr có.—g|]}|tju¯|‘ŒSr?)rr)rAÚxs rú rE[s$€Ð;Ð;Ð;�Q 1­E¬NÐ#:Ð#:ˆqÐ#:Ð#:Ð#:r N)r:ÚenumrÚ functoolsrÚtypingrrÚtyping_extensionsrrrÚlistrÚ enumeraterÚ HIGH_SCOPESr?r rúrMsûððððÐÐÐÐÐØ$Ð$Ð$Ð$Ð$Ð$ØÐÐÐÐÐØ Ð Ð Ð Ð Ð àðNØ)Ð)Ð)Ð)Ð)Ð)àÐLÔM€Jðð=ð=ð=ð=ð=ˆDñ=ô=ñ„ð=ð@ˆd�5‰kŒk€ ØJÐJ°9°9¸[Ñ3IÔ3IÐJÑJÔJ€ð<Ð;˜%Ð;Ñ;Ô;€ € € r