
\c           @   sH   d  d l  m Z d  d l m Z d   Z d   Z d   Z d   Z d S(   i(   t   import_module(   t   warnsc          C   s\   d d l  }  t d d i d d g d 6d d	 d
 t f } | rX |  | j  k sX t  n  d S(   sY   
    make sure we get the right collections when it is not part of a
    larger list
    iNt
   matplotlibt   __import__kwargst   cmt   collectionst   fromlistt   min_module_versions   1.1.0t   catch(   R   R    t   RuntimeErrort   AssertionError(   R   R   (    (    sD   lib/python2.7/site-packages/sympy/external/tests/test_importtools.pyt   test_no_stdlib_collections   s    	c          C   sY   d d l  }  t d d i d g d 6d d d	 t f } | rU |  | j  k sU t  n  d S(
   sY   
    make sure we get the right collections when it is not part of a
    larger list
    iNR   R   R   R   R   s   1.1.0R   (   R   R    R	   R
   (   R   R   (    (    sD   lib/python2.7/site-packages/sympy/external/tests/test_importtools.pyt   test_no_stdlib_collections2   s    	c          C   sS   d d l  }  t d d i d d g d 6d d	 } | rO |  | j  k sO t  n  d S(
   s4   make sure we get the right collections with no catchiNR   R   R   R   R   R   s   1.1.0(   R   R    R
   (   R   R   (    (    sD   lib/python2.7/site-packages/sympy/external/tests/test_importtools.pyt   test_no_stdlib_collections3   s    		c           C   s'   t  t   t d d d Wd  QXd  S(   Nt   mpmathR   s   1000.0.1(   R   t   UserWarningR    (    (    (    sD   lib/python2.7/site-packages/sympy/external/tests/test_importtools.pyt0   test_min_module_version_python3_basestring_error&   s    N(   t   sympy.externalR    t   sympy.utilities.pytestR   R   R   R   R   (    (    (    sD   lib/python2.7/site-packages/sympy/external/tests/test_importtools.pyt   <module>   s
   				