ó
àÆ÷Xc           @` sg   d  Z  d d l m Z m Z m Z d d l Z d d l m Z m Z m	 Z	 d e j
 f d „  ƒ  YZ d S(   s   
Test config options.
i    (   t   absolute_importt   print_functiont   divisionN(   t   AddConfigVart   ConfigParamt   THEANO_FLAGS_DICTt   T_configc           B` s   e  Z d  „  Z RS(   c      	   C` s   d „  } y8 t  d d d d t d d | ƒd t ƒt s@ t ‚ Wn t k
 rT n Xd	 t d
 <t  d
 d d d t d d | ƒd t ƒd
 t k s™ t ‚ d  S(   Nc         S` s    |  d k r t  ƒ  ‚ n |  Sd  S(   Nt   invalid(   t
   ValueError(   t   val(    (    s8   /tmp/pip-build-X4mzal/theano/theano/tests/test_config.pyt   filter   s    s   T_config.test_invalid_default_at   doct   unittestt   configparamR   R
   t   in_c_keyt   oks   T_config.test_invalid_default_b(   R   R   t   Falset   AssertionErrorR   R   (   t   selfR
   (    (    s8   /tmp/pip-build-X4mzal/theano/theano/tests/test_config.pyt   test_invalid_default   s     	
	(   t   __name__t
   __module__R   (    (    (    s8   /tmp/pip-build-X4mzal/theano/theano/tests/test_config.pyR   	   s   (   t   __doc__t
   __future__R    R   R   R   t   theano.configparserR   R   R   t   TestCaseR   (    (    (    s8   /tmp/pip-build-X4mzal/theano/theano/tests/test_config.pyt   <module>   s   