ó J(Zc@sšdZdZddlZddlZddlmZdefd„ƒYZdddddd„Zid „Z e d kr–d „Z ej d d ƒndS(sgSelf tests These tests should perform quickly and can ideally be used every time an application runs. s$Id$iÿÿÿÿN(tStringIOt SelfTestErrorcBseZd„ZRS(cCs)tj|||ƒ||_||_dS(N(t Exceptiont__init__tmessagetresult(tselfRR((s:/tmp/pip-build-LvEk9W/pycrypto/Crypto/SelfTest/__init__.pyR&s (t__name__t __module__R(((s:/tmp/pip-build-LvEk9W/pycrypto/Crypto/SelfTest/__init__.pyR%sic Ks|dkri}ntjƒ}|dkr[|dkrKtd|ƒ}n|j|ƒn4|dkrƒ|j|jd|ƒƒn tdƒ‚|dkr«tƒ|dYst defaultTestR( t__doc__t __revision__RR RRRR RRRRtmain(((s:/tmp/pip-build-LvEk9W/pycrypto/Crypto/SelfTest/__init__.pyts  "