U é üe ã@s¤dZddlZddlZddgZdZddd„Zddd„Ze d¡Zd d „Z Gd d „d ej ƒZ e d ƒZ dd„e e ƒDƒD]&Ze eƒZee eƒeƒe<e e¡qr[ [ [ dS)zûTools so trivial that tracebacks should not descend into them We define the ``__unittest`` symbol in their module namespace so unittest will skip them when printing tracebacks, just as it does for their corresponding methods in ``unittest`` proper. éNÚok_Úeq_écCs|s t|ƒ‚dS)z4Shorthand for assert. Saves 3 whole characters! N©ÚAssertionError)ÚexprÚmsg©r ú@/opt/hc_python/lib/python3.8/site-packages/nose/tools/trivial.pyrscCs ||kst|pd||fƒ‚dS)z6Shorthand for 'assert a == b, "%r != %r" % (a, b) z%r != %rNr)ÚaÚbrr r r rsz([A-Z])cCst dd„|¡S)NcSsd| ¡d ¡S)NÚ_r)ÚgroupsÚlower)Úmr r r Ú'ózpep8..)ÚcapsÚsub)Únamer r r Úpep8&src@seZdZdd„ZdS)ÚDummycCsdS)Nr r r r r Únop*sz Dummy.nopN)Ú__name__Ú __module__Ú __qualname__rr r r r r)srrcCs"g|]}| d¡rd|kr|‘qS)Úassertr )Ú startswith)Ú.0Úatr r r Ú .s ÿr )N)N)Ú__doc__ÚreZunittestÚ__all__Z __unittestrrÚcompilerrZTestCaserZ_tÚdirrZpepdÚgetattrÚvarsÚappendr r r r Ús"