ó
wŰjc           @   s   d  d l  Z  d  d l m Z d  d l Z d  d l Z d  d l m Z e j e d  Z d e  j f d     YZ d   Z	 e
 d k r e	   n  d S(	   i˙˙˙˙N(   t   test_support(   t   patht	   startfilet   TestCasec           B   s5   e  Z d    Z d   Z d   Z d   Z d   Z RS(   c         C   s   |  j  t t d  d  S(   Ns   nonexisting.vbs(   t   assertRaisest   OSErrorR   (   t   self(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt   test_nonexisting   s    c         C   s   |  j  t t d  d  S(   Nu   nonexisting.vbs(   R   R   R   (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt   test_nonexisting_u   s    c         C   s=   t  j t j t j    t |  t | d  Wd  QXd  S(   Nt   open(   R    t
   change_cwdR   t   dirnamet   syst
   executableR   (   R   t   empty(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt   check_empty   s    
c         C   s,   t  j t  j t  d  } |  j |  d  S(   Ns	   empty.vbs(   R   t   joinR   t   __file__R   (   R   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt
   test_empty#   s    c         C   s;   t  j t  j t  d  } t | d  } |  j |  d  S(   Ns	   empty.vbst   mbcs(   R   R   R   R   t   unicodeR   (   R   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt   test_empty_unicode'   s    (   t   __name__t
   __module__R   R   R   R   R   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyR      s
   					c           C   s   t  j t  d  S(   N(   R    t   run_unittestR   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt	   test_main,   s    t   __main__(   t   unittestt   testR    t   osR   R   t   get_attributeR   R   R   R   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_startfile.pyt   <module>
   s   	