Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/site-packages/nose/tools/trivial.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�9�c@sdZddlZddlZddgZdZdd�Zdd�Zejd�Z	d	�Z
d
ejfd��YZed�Z
xqgee
�D]'Zejd
�r�dekr�e^q�D]5Ze
e�Zee
e�e�e<eje�q�W[[
[
dS(s�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.

i�Ntok_teq_icCs|st|��ndS(s4Shorthand for assert. Saves 3 whole characters!
    N(tAssertionError(texprtmsg((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pyRscCs/||ks+t|p"d||f��ndS(s6Shorthand for 'assert a == b, "%r != %r" % (a, b)
    s%r != %rN(R(tatbR((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pyRss([A-Z])cCstjd�|�S(NcSsd|j�dj�S(Nt_i(tgroupstlower(tm((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pyt<lambda>'s(tcapstsub(tname((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pytpep8&stDummycBseZd�ZRS(cCsdS(N((((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pytnop*s(t__name__t
__module__R(((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pyR)sRtassertR(t__doc__tretunittestt__all__t
__unittesttNoneRRtcompileRRtTestCaseRt_ttdirtatt
startswithtpepdtgetattrtvarstappend(((s6/sys/lib/python2.7/site-packages/nose/tools/trivial.pyt<module>s$	+

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.