
'=[c           @   sF   d  Z  d d l m Z d d l m Z m Z d e f d     YZ d S(   s$   
Contains tests class for reader.py
i   (   t	   TestsBasei   (   t   readt   get_versiont
   TestReaderc           B   s   e  Z d    Z RS(   c         C   s   |  j  d d   } t |  } Wd QXt |  \ } } |  j | d  |  j  d d   } t |  } Wd QXt |  \ } } |  j | d  d S(   s3   Can older notebooks be opened without modification?u   test3.ipynbu   rNi   u   test2.ipynbi   (   t   fopenR   R   t   assertEqual(   t   selft   ft   nbt   majort   minor(    (    s9   lib/python2.7/site-packages/nbformat/tests/test_reader.pyt	   test_read   s    (   t   __name__t
   __module__R   (    (    (    s9   lib/python2.7/site-packages/nbformat/tests/test_reader.pyR      s   N(   t   __doc__t   baseR    t   readerR   R   R   (    (    (    s9   lib/python2.7/site-packages/nbformat/tests/test_reader.pyt   <module>   s   