Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_winsound.pyc
mò ‚=5Dc @ s d k Z d k l Z d k Z d k Z d k Z d k Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z d a d „ Z d „ Z e d j o e ƒ n d S( N( s test_supportt BeepTestc B s# t Z d „ Z d „ Z d „ Z RS( Nc C sI | i t t i ƒ | i t t i d d ƒ | i t t i d d ƒ d S( Ni$ iK i € ( t selft assertRaisest TypeErrort winsoundt Beept ValueError( R ( ( t( /usr/lib/python2.4/test/test_winsound.pyt test_errors s c C s$ t i d d ƒ t i d d ƒ d S( Ni% iK iÿ ( R R ( R ( ( R t test_extremes s c C s1 x* t d d d ƒ D] } t i | d ƒ q Wd S( Nid iÐ iK ( t xranget iR R ( R R ( ( R t test_increasingfrequency s ( t __name__t __module__R R R ( ( ( R R s t MessageBeepTestc B sG t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s t i d ƒ d S( Nf0.5( t timet sleep( R ( ( R t tearDown s c C s= | i t t i d ƒ | i t t i d d ƒ t i ƒ d S( Nt badi* ( R R R R t MessageBeep( R ( ( R t test_default s c C s t i t i ƒ d S( N( R R t MB_OK( R ( ( R t test_ok# s c C s t i t i ƒ d S( N( R R t MB_ICONASTERISK( R ( ( R t test_asterisk&