ó
:îÜW  c           @   sI   d  d l  Z d  d l j j Z d  d l Z d „  Z d „  Z d „  Z	 d S(   iÿÿÿÿNc          C   s  d d  l  }  t j } | j  } | |  k } | st j d | f d | |  f ƒ i d t j ƒ  k sr t j t ƒ r t j t ƒ n d d 6t j | ƒ d 6t j | ƒ d 6d t j ƒ  k sÉ t j |  ƒ rØ t j |  ƒ n d d	 6} d i | d 6} t	 t j
 | ƒ ƒ ‚ n  d  } } } d  S(   Niÿÿÿÿt   issC   %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.std
}.os
} is %(py6)st   pyt   py0t   py2t   py4t   ost   py6t    s   assert %(py8)st   py8(   R    (   sC   %(py4)s
{%(py4)s = %(py2)s
{%(py2)s = %(py0)s.std
}.os
} is %(py6)ss   assert %(py8)s(   R   R   t   stdt
   @pytest_art   _call_reprcomparet   @py_builtinst   localst   _should_repr_global_namet	   _safereprt   AssertionErrort   _format_explanationt   None(   R   t   @py_assert1t   @py_assert3t   @py_assert5t   @py_format7t   @py_format9(    (    s;   /home/ronny/Projects/pytest-dev/py/testing/root/test_std.pyt   test_os   s    	 	   ³   c           C   s   t  j j t d ƒ d  S(   Ns   py.std.xyzalskdj(   R   t   testt   raisest   AttributeError(    (    (    s;   /home/ronny/Projects/pytest-dev/py/testing/root/test_std.pyt,   test_import_error_converts_to_attributeerror   s    c          C   s,  x%t  j j j D]}  t  j } | j } |  | k } | st j d | f d |  | f ƒ i d t j ƒ  k s| t j	 |  ƒ r‹ t j
 |  ƒ n d d 6d t j ƒ  k s³ t j	 t  ƒ rÂ t j
 t  ƒ n d d 6t j
 | ƒ d 6t j
 | ƒ d 6} d i | d 6} t t j | ƒ ƒ ‚ n  d  } } } q Wd  S(   Nt   insI   %(py0)s in %(py6)s
{%(py6)s = %(py4)s
{%(py4)s = %(py2)s.std
}.__dict__
}t   xR   R   R   R   R   R   s   assert %(py8)sR   (   R   (   sI   %(py0)s in %(py6)s
{%(py6)s = %(py4)s
{%(py4)s = %(py2)s.std
}.__dict__
}s   assert %(py8)s(   R   R	   t   syst   modulest   __dict__R
   R   R   R   R   R   R   R   R   (   R   R   R   R   R   R   (    (    s;   /home/ronny/Projects/pytest-dev/py/testing/root/test_std.pyt   test_std_gets_it   s    	 	   ³   (
   t   __builtin__R   t   _pytest.assertion.rewritet	   assertiont   rewriteR
   R   R   R   R"   (    (    (    s;   /home/ronny/Projects/pytest-dev/py/testing/root/test_std.pyt   <module>   s
     		