Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
wlanpi-profiler / opt / wlanpi-profiler / lib / python3.7 / site-packages / tox / __pycache__ / exception.cpython-37.pyc
Size: Mime:
B

O‡š‚([ðã@sÖddlZddlZddlZdd„ZGdd„deƒZGdd„deƒZGdd	„d	eƒZGd
d„deeƒZ	Gdd
„d
eƒZ
Gdd„deƒZGdd„deƒZGdd„deƒZ
Gdd„deƒZGdd„deƒZGdd„deƒZdS)éNcCs²d ||¡}|dk	r®|dks.tjdkr |dkr dd„ttƒ ¡Dƒ}|dkrj| |¡}|d ||¡7}n6|d	 |¡7}|d}| |¡}|r |d
 |||¡7}|d	 |¡7}|S)aPString representation for an InvocationError, with exit code

    NOTE: this might also be used by plugin tests (tox-venv at the time of writing),
    so some coordination is needed if this is ever moved or a different solution for this hack
    is found.

    NOTE: this is a separate function because pytest-mock `spy` does not work on Exceptions
    We can use neither a class method nor a static because of https://bugs.python.org/issue23078.
    Even a normal method failed with "TypeError: descriptor '__getattribute__' requires a
    'BaseException' object but received a 'type'".
    z{} for command {}NrÚposixé€cSs i|]\}}| d¡r||“qS)ZSIG)Ú
startswith)Ú.0ÚnameÚnumber©rú/build/wlanpi-profiler-CSvHZ8/wlanpi-profiler-1.0.7~rc2/debian/wlanpi-profiler/opt/wlanpi-profiler/lib/python3.7/site-packages/tox/exception.pyú
<dictcomp>sz!exit_code_str.<locals>.<dictcomp>z (exited with code {:d} ({}))z (exited with code {:d})zH)
Note: this might indicate a fatal error signal ({:d} - 128 = {:d}: {}))ÚformatÚosrÚvarsÚsignalÚitemsÚget)Úexception_nameÚcommandÚ	exit_codeZstr_ZsignalsZsig_namerrrrr	Ú
exit_code_strs"
rc@seZdZdd„ZdS)ÚErrorcCsd |jj|jd¡S)Nz{}: {}r)rÚ	__class__Ú__name__Úargs)Úselfrrr	Ú__str__*sz
Error.__str__N)rÚ
__module__Ú__qualname__rrrrr	r)srcs eZdZdZ‡fdd„Z‡ZS)ÚMissingSubstitutionZTOX_MISSING_SUBSTITUTIONcs||_tt|ƒ |¡dS)N)rÚsuperrÚ__init__)rr)rrr	r2szMissingSubstitution.__init__)rrrZFLAGrÚ
__classcell__rr)rr	r.src@seZdZdZdS)ÚConfigErrorzError in tox configuration.N)rrrÚ__doc__rrrr	r!7sr!c@seZdZdZdS)ÚSubstitutionStackErrorz2Error in tox configuration recursive substitution.N)rrrr"rrrr	r#;sr#c@seZdZdZdS)ÚUnsupportedInterpreterz#Signals an unsupported Interpreter.N)rrrr"rrrr	r$?sr$c@seZdZdZdS)ÚInterpreterNotFoundz/Signals that an interpreter could not be found.N)rrrr"rrrr	r%Csr%cs*eZdZdZd‡fdd„	Zdd„Z‡ZS)ÚInvocationErrorz!An error while invoking a script.Ncs(tt|ƒ ||¡||_||_||_dS)N)rrrrrÚout)rrrr')rrr	rJszInvocationError.__init__cCst|jj|j|jƒS)N)rrrrr)rrrr	rPszInvocationError.__str__)NN)rrrr"rrr rr)rr	r&Gsr&c@seZdZdZdS)ÚMissingDirectoryzA directory did not exist.N)rrrr"rrrr	r(Tsr(c@seZdZdZdS)ÚMissingDependencyz.A dependency could not be found or determined.N)rrrr"rrrr	r)Xsr)c@s eZdZdZdd„Zdd„ZdS)ÚMissingRequirementz6A requirement defined in :config:`require` is not met.cCs
||_dS)N)Úconfig)rr+rrr	r_szMissingRequirement.__init__cCsd dd„|jjDƒ¡S)Nú css|]}t |¡VqdS)N)ÚpipesÚquote)rÚirrr	ú	<genexpr>csz-MissingRequirement.__str__.<locals>.<genexpr>)Újoinr+Úrequires)rrrr	rbszMissingRequirement.__str__N)rrrr"rrrrrr	r*\sr*c@seZdZdZdS)ÚBadRequirementz<A requirement defined in :config:`require` cannot be parsed.N)rrrr"rrrr	r3fsr3)rr-rrÚ	Exceptionrrr!Ú
ValueErrorr#r$r%r&r(r)r*r3rrrr	Ú<module>s#