� Bd\Rc @ s� d Z d Z d d l Z d d l Z d d l m Z d e f d � � YZ d d d d d d � Z i d � Z e d k r� d � Z e j d d � n d S( sg Self tests These tests should perform quickly and can ideally be used every time an application runs. s $Id$i����N( t StringIOt SelfTestErrorc B s e Z d � Z RS( c C s) t j | | | � | | _ | | _ d S( N( t Exceptiont __init__t messaget result( t selfR R ( ( s>