File: //proc/2/cwd/proc/3/root/usr/lib/python2.4/test/test_calendar.pyc
mò
‚=5Dc @ s¢ d k Z d k Z d k l Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d
„ Z e
d j o e ƒ n d S( N( s test_supportt CalendarTestCasec B s5 t Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C sh | i t i d ƒ d ƒ | i t i d ƒ d ƒ | i t i d ƒ d ƒ | i t i d ƒ d ƒ d S( NiÐ i iÑ i iÒ iÓ ( t selft assertEqualt calendart isleap( R ( ( t( /usr/lib/python2.4/test/test_calendar.pyt test_isleap s c C s± | i t t i d ƒ | i t t i d ƒ | i t t i d ƒ t i ƒ } t i t i ƒ | i t i ƒ t i ƒ t i t i ƒ | i t i ƒ t i ƒ t i | ƒ d S( Nt flabberiÿÿÿÿiÈ (
R t assertRaisest
ValueErrorR t setfirstweekdayt firstweekdayt origt SUNDAYR t MONDAY( R R ( ( R t test_setfirstweekday s c C sj | i t t i i d ƒ | i t t i i d ƒ | i t g } t i D]
} | | qI ~ ƒ d ƒ d S( Niöÿÿÿi
i ( R R t
IndexErrorR t day_abbrt __getitem__t day_nameR t lent _[1]t d( R R R ( ( R t test_enumerateweekdays s c C s– x d D]‡ } t t | ƒ } | i t | ƒ d ƒ | i t | ƒ d ƒ | i t t | ƒ ƒ d ƒ | i | d d d … t t | ƒ ƒ ƒ q Wd S( NR R i iÿÿÿÿ( s day_names day_abbr(
t attrt getattrR t valueR R R t sett listt reversed( R R R ( ( R t test_days"