σ
ίΘ[c           @` sN   d  Z  d d l m Z m Z m Z m Z d d l m Z d   Z d   Z	 d S(   us   
These plugins modify the behavior of py.test and are meant to be imported
into conftest.py in the root directory.
i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsi   (   t   rangec         C` s   |  j  d d d d d d  S(   Nu   --repeatt   actionu   storet   helpu#   Number of times to repeat each test(   t	   addoption(   t   parser(    (    s:   lib/python2.7/site-packages/astropy/tests/pytest_repeat.pyt   pytest_addoption   s    c         C` sW   |  j  j j d  k	 rS t |  j  j j  } |  j j d  |  j d t |   n  d  S(   Nu   tmp_ct(	   t   configt   optiont   repeatt   Nonet   intt   fixturenamest   appendt   parametrizeR   (   t   metafunct   count(    (    s:   lib/python2.7/site-packages/astropy/tests/pytest_repeat.pyt   pytest_generate_tests   s    N(
   t   __doc__t
   __future__R    R   R   R   t   extern.six.movesR   R	   R   (    (    (    s:   lib/python2.7/site-packages/astropy/tests/pytest_repeat.pyt   <module>   s   "	