mò
¤=¤Cc           @   sR   d  k  Z  d  k Z d  k Z d „  Z d „  Z d „  Z e d j o e ƒ  n d  S(   Nc          C   sX   h  d t  i <}  d } t i | |  Ž  } x' | D] } | i t i	 | |   ƒ q1 W| S(   Nt   optionflagss   examples/example.sxws   examples/oodoctest_intro.sxi(   s   examples/example.sxws   examples/oodoctest_intro.sxi(
   t   doctestt   ELLIPSISt   optionst   EXAMPLESt	   oodoctestt   OODocFileSuitet   suitet   patht   addTestt   OODocFileTest(   R   R   R   R   (    (    tJ   /home/ogrisel/coding/oodoctest-download.gna.org/oodoctest.og.main/tests.pyt   get_oodoctests   s     c          C   s9   t  ƒ  }  |  i t i t ƒ ƒ |  i t i d ƒ ƒ |  S(   sM   Project wide test suite runnable through::

      $ python setup.py test
    s
   README.txtN(   R   R   R	   R   t   DocTestSuiteR   t   DocFileSuite(   R   (    (    R   t
   test_suite   s
     	c          C   s    t  i ƒ  }  |  i t ƒ  ƒ d  S(   N(   t   unittestt   TextTestRunnert   runnert   runR   (   R   (    (    R   t	   run_tests"   s    t   __main__(   R   R   R   R   R   R   t   __name__(   R   R   R   R   R   R   (    (    R   t   ?   s   						
