Current File : //opt/imh-python/lib/python2.7/test/test_sunaudiodev.pyo |
�
��Wc @ s� d d l m Z m Z m Z d d l Z e d d e �Z d d l Z y e j d Z Wn e
k
rp d Z n Xe j j e � s� e j
d � � n d � Z d � Z e d
k r� e � n d S( i����( t findfilet
TestFailedt
import_moduleNt sunaudiodevt
deprecatedt AUDIODEVs
/dev/audios no audio device found!c C su t | d � } | j � } | j � y t j d � } Wn t j k
rY } t | � n X| j | � | j � d S( Nt rt w( t opent readt closeR t errorR t write( t patht fpt datat at msg( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_sunaudiodev.pyt play_sound_file s
c C s t t d � � d S( Ns audiotest.au( R R ( ( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_sunaudiodev.pyt test_main s t __main__( t test.test_supportR R R t unittestt TrueR t ost environt audiodevt KeyErrorR
t existst SkipTestR R t __name__( ( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_sunaudiodev.pyt <module> s