ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib64/python2.7/lib-tk/test/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib64/python2.7/lib-tk/test/runtktests.pyo |
� ]цdc @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z e j j e j j e � � Z d a d � Z d � Z e e d d � Z e e d d � Z e d k r� d g e j _ e j j e � � n d S( s� Use this module to get and run all tk tests. Tkinter tests should live in a package inside the directory where this file lives, like test_tkinter. Extensions also should live in packages following the same rule as above. i����Nc sF t d k r*t a t j d k r� d d l m } m � m } m } d d l m } | j | d � � } | j � d k r� d a q'd | f � f d � � Y} | � } | | � } | j | � d k s� | j | � d k r'd a q'q*d d l } y | j � Wq*| j k r&} d | a q*Xn t rBt j t � � n d S( s) Check that Tk is installed and available.t darwini����( t cdllt c_intt pointert Structure( t find_libraryt ApplicationServicesi s&