xmhh TSSKrSSKrSSKJr SSKJrJr SSKrSSKrSSK r SSK r SSK r SSK r SSK r SrSrSrSr\"SS S S 9rS r/S Q/SQ/SQ/SQ/SQ//SQ/SQ/SQ/SQ/SQ//SQ/SQ/SQ/SQ/SQ///S Q/SQ/SQ/SQ/SQ//SQ/SQ/SQ/S Q/S!Q/S"Q//S#Q/S$Q/S%Q/S&Q/S'Q///S Q/SQ/SQ/SQ/SQ//SQ/SQ/SQ/SQ/SQ/S(Q//S)Q/S*Q/S+Q/S,Q/S-Q///S.Q/S/Q/S0Q/S1Q/S2Q//SQ/SQ/SQ/SQ/S3Q//S)Q/S*Q/S+Q/S,Q/S4Q///r/S5Q/S6Q/S7Q//S8Q/S9Q/S:Q//S;Q/SQ/S?Q/S@Q//r"SASB\R.5r"SCSD\R.5r"SESF\R.5r"SGSH\5r"SISJ\5r"SKSL\R.5r"SMSN\R.5r"SOSP\R.5rSQr "SRSS\R.5r!"STSU\R.5r""SVSW\R.5r#\$SX:Xa\RJ"5 gg)YN)support)assert_python_okassert_python_failurez February 0 Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 a 0 January February March Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 1 2 3 4 5 6 1 2 3 4 5 3 4 5 6 7 8 9 7 8 9 10 11 12 13 6 7 8 9 10 11 12 10 11 12 13 14 15 16 14 15 16 17 18 19 20 13 14 15 16 17 18 19 17 18 19 20 21 22 23 21 22 23 24 25 26 27 20 21 22 23 24 25 26 24 25 26 27 28 29 30 28 29 27 28 29 30 31 31 April May June Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 1 2 3 4 5 6 7 1 2 3 4 3 4 5 6 7 8 9 8 9 10 11 12 13 14 5 6 7 8 9 10 11 10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18 17 18 19 20 21 22 23 22 23 24 25 26 27 28 19 20 21 22 23 24 25 24 25 26 27 28 29 30 29 30 31 26 27 28 29 30 July August September Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 1 2 3 4 5 6 1 2 3 3 4 5 6 7 8 9 7 8 9 10 11 12 13 4 5 6 7 8 9 10 10 11 12 13 14 15 16 14 15 16 17 18 19 20 11 12 13 14 15 16 17 17 18 19 20 21 22 23 21 22 23 24 25 26 27 18 19 20 21 22 23 24 24 25 26 27 28 29 30 28 29 30 31 25 26 27 28 29 30 31 October November December Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 1 2 3 4 5 1 2 3 2 3 4 5 6 7 8 6 7 8 9 10 11 12 4 5 6 7 8 9 10 9 10 11 12 13 14 15 13 14 15 16 17 18 19 11 12 13 14 15 16 17 16 17 18 19 20 21 22 20 21 22 23 24 25 26 18 19 20 21 22 23 24 23 24 25 26 27 28 29 27 28 29 30 25 26 27 28 29 30 31 30 31 z January 2004 Mo Tu We Th Fr Sa Su 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 a! 2004 January February March Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 3 4 1 1 2 3 4 5 6 7 5 6 7 8 9 10 11 2 3 4 5 6 7 8 8 9 10 11 12 13 14 12 13 14 15 16 17 18 9 10 11 12 13 14 15 15 16 17 18 19 20 21 19 20 21 22 23 24 25 16 17 18 19 20 21 22 22 23 24 25 26 27 28 26 27 28 29 30 31 23 24 25 26 27 28 29 29 30 31 April May June Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 3 4 1 2 1 2 3 4 5 6 5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13 12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20 19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27 26 27 28 29 30 24 25 26 27 28 29 30 28 29 30 31 July August September Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 3 4 1 1 2 3 4 5 5 6 7 8 9 10 11 2 3 4 5 6 7 8 6 7 8 9 10 11 12 12 13 14 15 16 17 18 9 10 11 12 13 14 15 13 14 15 16 17 18 19 19 20 21 22 23 24 25 16 17 18 19 20 21 22 20 21 22 23 24 25 26 26 27 28 29 30 31 23 24 25 26 27 28 29 27 28 29 30 30 31 October November December Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su 1 2 3 1 2 3 4 5 6 7 1 2 3 4 5 4 5 6 7 8 9 10 8 9 10 11 12 13 14 6 7 8 9 10 11 12 11 12 13 14 15 16 17 15 16 17 18 19 20 21 13 14 15 16 17 18 19 18 19 20 21 22 23 24 22 23 24 25 26 27 28 20 21 22 23 24 25 26 25 26 27 28 29 30 31 29 30 27 28 29 30 31 yearmonthascii)rrencodingax; Calendar for 2004
2004
January
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 
February
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
March
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    
April
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
2627282930  
May
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
31      
June
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
21222324252627
282930    
July
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 
August
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     
September
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   
October
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031
November
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     
December
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  
)rrr) ) ))r)rrrrrrr )r r r rrrr)rrrrrrr)rrrrrrr)r r!r"r#r$r%r&)r r r r rrr)rrrrrrr)rrrrrrr)rr r!r"r#r$r%)r&r'r(rrrr)r#r$r%r&r'rr)rrrrrr r )r r rrrrr)rrrrrrr)rrrrrrr )r!r"r#r$r%r&r')r(rrrrrr)rr r r r rr)rrrrrrr)rrrrrrr)rrr r!r"r#r$)r%r&r'rrrr)r'r(rrrrr)rrr r r r r)rrrrrrr)rrrrrrr)rrrr r!r"r#)r$r%r&r'rrr)rrrrr r r )r rrrrrr)rrrrrrr)rrrrrr r!)r"r#r$r%r&r'r()r&r'rrrrr)r$r%r&r'r(rr)z>12/29/03 12/30/03 12/31/03 01/01/04 01/02/04 01/03/04 01/04/04z>01/05/04 01/06/04 01/07/04 01/08/04 01/09/04 01/10/04 01/11/04z>01/12/04 01/13/04 01/14/04 01/15/04 01/16/04 01/17/04 01/18/04z>01/19/04 01/20/04 01/21/04 01/22/04 01/23/04 01/24/04 01/25/04>01/26/04 01/27/04 01/28/04 01/29/04 01/30/04 01/31/04 02/01/04)r)z>02/02/04 02/03/04 02/04/04 02/05/04 02/06/04 02/07/04 02/08/04z>02/09/04 02/10/04 02/11/04 02/12/04 02/13/04 02/14/04 02/15/04z>02/16/04 02/17/04 02/18/04 02/19/04 02/20/04 02/21/04 02/22/04z>02/23/04 02/24/04 02/25/04 02/26/04 02/27/04 02/28/04 02/29/04)z>03/01/04 03/02/04 03/03/04 03/04/04 03/05/04 03/06/04 03/07/04z>03/08/04 03/09/04 03/10/04 03/11/04 03/12/04 03/13/04 03/14/04z>03/15/04 03/16/04 03/17/04 03/18/04 03/19/04 03/20/04 03/21/04z>03/22/04 03/23/04 03/24/04 03/25/04 03/26/04 03/27/04 03/28/04>03/29/04 03/30/04 03/31/04 04/01/04 04/02/04 04/03/04 04/04/04)r*z>04/05/04 04/06/04 04/07/04 04/08/04 04/09/04 04/10/04 04/11/04z>04/12/04 04/13/04 04/14/04 04/15/04 04/16/04 04/17/04 04/18/04z>04/19/04 04/20/04 04/21/04 04/22/04 04/23/04 04/24/04 04/25/04>04/26/04 04/27/04 04/28/04 04/29/04 04/30/04 05/01/04 05/02/04)r+z>05/03/04 05/04/04 05/05/04 05/06/04 05/07/04 05/08/04 05/09/04z>05/10/04 05/11/04 05/12/04 05/13/04 05/14/04 05/15/04 05/16/04z>05/17/04 05/18/04 05/19/04 05/20/04 05/21/04 05/22/04 05/23/04z>05/24/04 05/25/04 05/26/04 05/27/04 05/28/04 05/29/04 05/30/04>05/31/04 06/01/04 06/02/04 06/03/04 06/04/04 06/05/04 06/06/04)r,z>06/07/04 06/08/04 06/09/04 06/10/04 06/11/04 06/12/04 06/13/04z>06/14/04 06/15/04 06/16/04 06/17/04 06/18/04 06/19/04 06/20/04z>06/21/04 06/22/04 06/23/04 06/24/04 06/25/04 06/26/04 06/27/04>06/28/04 06/29/04 06/30/04 07/01/04 07/02/04 07/03/04 07/04/04)r-z>07/05/04 07/06/04 07/07/04 07/08/04 07/09/04 07/10/04 07/11/04z>07/12/04 07/13/04 07/14/04 07/15/04 07/16/04 07/17/04 07/18/04z>07/19/04 07/20/04 07/21/04 07/22/04 07/23/04 07/24/04 07/25/04>07/26/04 07/27/04 07/28/04 07/29/04 07/30/04 07/31/04 08/01/04)r.z>08/02/04 08/03/04 08/04/04 08/05/04 08/06/04 08/07/04 08/08/04z>08/09/04 08/10/04 08/11/04 08/12/04 08/13/04 08/14/04 08/15/04z>08/16/04 08/17/04 08/18/04 08/19/04 08/20/04 08/21/04 08/22/04z>08/23/04 08/24/04 08/25/04 08/26/04 08/27/04 08/28/04 08/29/04>08/30/04 08/31/04 09/01/04 09/02/04 09/03/04 09/04/04 09/05/04)r/z>09/06/04 09/07/04 09/08/04 09/09/04 09/10/04 09/11/04 09/12/04z>09/13/04 09/14/04 09/15/04 09/16/04 09/17/04 09/18/04 09/19/04z>09/20/04 09/21/04 09/22/04 09/23/04 09/24/04 09/25/04 09/26/04>09/27/04 09/28/04 09/29/04 09/30/04 10/01/04 10/02/04 10/03/04)r0z>10/04/04 10/05/04 10/06/04 10/07/04 10/08/04 10/09/04 10/10/04z>10/11/04 10/12/04 10/13/04 10/14/04 10/15/04 10/16/04 10/17/04z>10/18/04 10/19/04 10/20/04 10/21/04 10/22/04 10/23/04 10/24/04z>10/25/04 10/26/04 10/27/04 10/28/04 10/29/04 10/30/04 10/31/04)z>11/01/04 11/02/04 11/03/04 11/04/04 11/05/04 11/06/04 11/07/04z>11/08/04 11/09/04 11/10/04 11/11/04 11/12/04 11/13/04 11/14/04z>11/15/04 11/16/04 11/17/04 11/18/04 11/19/04 11/20/04 11/21/04z>11/22/04 11/23/04 11/24/04 11/25/04 11/26/04 11/27/04 11/28/04>11/29/04 11/30/04 12/01/04 12/02/04 12/03/04 12/04/04 12/05/04)r1z>12/06/04 12/07/04 12/08/04 12/09/04 12/10/04 12/11/04 12/12/04z>12/13/04 12/14/04 12/15/04 12/16/04 12/17/04 12/18/04 12/19/04z>12/20/04 12/21/04 12/22/04 12/23/04 12/24/04 12/25/04 12/26/04z>12/27/04 12/28/04 12/29/04 12/30/04 12/31/04 01/01/05 01/02/05c\rSrSrSrSrSrSrSrSr Sr S r S r S r S rS rSrSrSrSrSrSrSrSrg)OutputTestCaseircSn/nURSS9H/nU(dM [X$5(aMURU5 M1 U$)NcdUR5(+=(a UR5(+$N)isspaceisdigit)cs 9/opt/alt/python313/lib64/python3.13/test/test_calendar.pyneitherspacenordigit?OutputTestCase.normalize_calendar..neitherspacenordigitusyy{?6199; 6F)keepends) splitlinesfilterappend)selfsr;lineslines r:normalize_calendar!OutputTestCase.normalize_calendarssF 7LL%L0DtF#7>> T"1 r=c[R"5n[R5nU=(d SUS'UR SUS9nUR U[ R"S0UD6RU55 g)Nutf-8r )r ) calendar HTMLCalendardefault_formatcopyformatyearpage assertEqualresult_2004_htmlformatencode)rBreqrescalformat_outputs r:check_htmlcalendar_encoding*OutputTestCase.check_htmlcalendar_encodingsn##% %%'!nW ##D3#7    # # .g . 5 5c : r=c$URUR[R"S55UR[55 URUR[R"S55UR[55 gNrJr)rQrFrLresult_2004_text result_0_textrBs r: test_outputOutputTestCase.test_outputso   # #H$5$5d$; <  # #$4 5    # #H$5$5a$8 9  # #M 2 r=cUR[R"5RS5[5 UR[R"5RS5[ 5 gr])rQrL TextCalendar formatyearr^r_r`s r:test_output_textcalendar'OutputTestCase.test_output_textcalendarsT   ! ! # . .t 4     ! ! # . .q 1  r=c(URSS5 g)NrrZr`s r:'test_output_htmlcalendar_encoding_ascii6OutputTestCase.test_output_htmlcalendar_encoding_ascii ((':r=c(URSS5 g)NrIrir`s r:&test_output_htmlcalendar_encoding_utf85OutputTestCase.test_output_htmlcalendar_encoding_utf8rlr=cNURS[R"55 gr6)rZsysgetdefaultencodingr`s r:)test_output_htmlcalendar_encoding_default8OutputTestCase.test_output_htmlcalendar_encoding_defaults ((s/E/E/GHr=cSnURU"[R"5RS55[5 g)NcUVVVs/sH=oVVs/sH+o"Vs/sHnSRSU55PM snPM- snnPM? snnn$s snfs snnfs snnnf)N c3# UHBnSRURUR[UR5SS5v MD g7f)z{:02d}/{:02d}/{}N)rSrdaystrr).0ds r: HOutputTestCase.test_yeardatescalendar..shrink..sHNKLa 288 !AFF BC0@ B BKLsA A )join)rWxyzs r:shrink5OutputTestCase.test_yeardatescalendar..shrinks{>AB=@412AQ(%&hhNKLNN%&(124=@B B(4Bs& A A"AAAAArJ)rQrLCalendaryeardatescalendarresult_2004_dates)rBrs r:test_yeardatescalendar%OutputTestCase.test_yeardatescalendars7 B  8$$&88> ?  r=ctUR[R"5RS5[5 gNrJ)rQrLryeardayscalendarresult_2004_daysr`s r:test_yeardayscalendar$OutputTestCase.test_yeardayscalendars*      0 0 6  r=clUR[R"5RS5S5 g)Nr zMo Tu We Th Fr Sa SurQrLrdformatweekheaderr`s r:test_formatweekheader_short*OutputTestCase.test_formatweekheader_shorts*   ! ! # 4 4Q 7 " r=clUR[R"5RS5S5 g)NrzE Monday Tuesday Wednesday Thursday Friday Saturday Sunday rr`s r:test_formatweekheader_long)OutputTestCase.test_formatweekheader_longs,   ! ! # 4 4Q 7 , r=cUR[R"5RSS5[5 UR[R"5RSS5[ 5 g)NrJr rr )rQrLrd formatmonthresult_2004_01_textresult_0_02_textr`s r:test_formatmonthOutputTestCase.test_formatmonthsX   ! ! # / /a 8     ! ! # / /1 5  r=c|UR[R5 [R"5R SS5 SSS5 UR[R5 [R"5R SS5 SSS5 g!,(df  N\=f!,(df  g=fNr) assertRaisesrLIllegalMonthErrorrdrr`s r:#test_formatmonth_with_invalid_month2OutputTestCase.test_formatmonth_with_invalid_monthsy   x99 :  ! ! # / /b 9;   x99 :  ! ! # / /b 9; :; : : :s&B-&B- B*- B;clUR[R"5RSSSS9S5 g)NrJr Twithyearz8January 2004rQrLrMformatmonthnamer`s r:test_formatmonthname_with_year-OutputTestCase.test_formatmonthname_with_years1   ! ! # 3 3D!d 3 K F r=clUR[R"5RSSSS9S5 g)NrJr Frz3Januaryrr`s r:!test_formatmonthname_without_year0OutputTestCase.test_formatmonthname_without_years1   ! ! # 3 3D!e 3 L A r=c[R"5n/SQn[R"5R US5 UR UR 5S5 SSS5 g!,(df  g=f)N))r r)r r )r r )r r )rr )rr)rrr z 1 2 3 4 5 6 7)rcaptured_stdoutrLrdprweekrQgetvalue)rBoutweeks r: test_prweekOutputTestCase.test_prweeksQ  $ $ &#DD  ! ! # * *4 3   S\\^-C D' & & A A)) A7c[R"5n[R"5R SS5 UR UR 5[5 SSS5 g!,(df  g=f)NrJr )rrrLrdprmonthrQrrrBrs r: test_prmonthOutputTestCase.test_prmonthsL  $ $ &#  ! ! # + +D! 4   S\\^-@ A' & &rc[R"5n[R"5R S5 UR UR 5[5 SSS5 g!,(df  g=fr)rrrLrdpryearrQrr^rs r: test_pryearOutputTestCase.test_pryearsJ  $ $ &#  ! ! # * *4 0   S\\^-= >' & &s A A(( A6c[R"5n[R"/SQSSS9 UR UR 5R 5S5 SSS5 g!,(df  g=f)N)123r r )colwidthspacingz 1 2 3)rrrLrSrQrstriprs r: test_formatOutputTestCase.test_formatsK  $ $ &# OOOa C   S\\^113[ A' & &s AA&& A4rKN)__name__ __module__ __qualname____firstlineno__rFrZrarfrjrnrsrrrrrrrrrrrr__static_attributes__rKr=r:r3r3rse    ;;I     :   E B ? Br=r3c\rSrSrSrSrSrSrSrSr Sr S r S r S r S rS rSrSrSrSrSrSrSrSrg)CalendarTestCaseicUR[S5 [R SSS5 g!,(df  g=f)Nz&>C *h&>&>D$$&  1 ..0(//B  1 ..0(//B  &r=cUR[RS5 [R"S5 SSS5 g!,(df  g=f)N123{)assertRaisesRegexrLIllegalWeekdayErrorrr`s r:test_illegal_weekday_reported.CalendarTestCase.test_illegal_weekday_reporteds3  # #H$@$@% H  $ $S )I H Hs A Ac<UR[[RRS5 UR[[R RS5 UR [[RVs/sHoPM sn5S5 gs snf)Nirr)r IndexErrorrLday_abbr __getitem__day_namerQlen)rBr}s r:test_enumerate_weekdays(CalendarTestCase.test_enumerate_weekdayssm *h&7&7&C&CSI *h&7&7&C&CRH ):):;):Aa):;   S..q!4j A   S..q!4k B   S..q"5| D|| C##$AB B Cs DD+D0c "[R"SS9nURURSSSSS9S5 URURSSSS S9S 5 URURSSS SS9S5 URURSSS S S9S 5 URURSSS SS9S 5 URURSSSS S9S5 g![R a [ R"S5ef=f)Nr&r irr FrJuneTz June 2022r rz June rz June 2022 r*)rLrrQrr rrrr+s r:$test_locale_calendar_formatmonthname5CalendarTestCase.test_locale_calendar_formatmonthnames C--W=C   S00q!e0Lf U   S00q!d0K[ Y   S00q!e0Lf U   S00q!d0K[ Y   S00q"u0M| \   S00q"t0LN_ `|| C##$AB B Cs C C##+Dc,[R"SS9nURSSS5nURSU5 SUlURSSS5nURSU5 g![Ra [ R "S5ef=f) Nrr r rrz class="month"text-center monthclass="text-center month") rLrrr rrrassertIncssclass_month_head)rBrWrs r:5test_locale_html_calendar_custom_css_class_month_nameFCalendarTestCase.test_locale_html_calendar_custom_css_class_month_names L--R8C--dB;K o{3"5))$B7  1;? || L##$JK K Ls 'A((+Bc([R"SS9nURS5nURSU5 /SQUlURS5nURSU5 g![Ra [ R "S5ef=f)Nrr rrz class="sun")mon2tue2wed2thu2fri2sat2sun2z class="sun2") rLrrr rrrr5cssclasses_weekday_head)rBrWrs r:2test_locale_html_calendar_custom_css_class_weekdayCCalendarTestCase.test_locale_html_calendar_custom_css_class_weekdays L--R8C--a0M m]3&^#))!,  nm4 || L##$JK K Ls %A&&+Bc|[[R"5R[R S55 g)Nr)rrLritermonthdays3datetimeMAXYEARr`s r:test_itermonthdays3$CalendarTestCase.test_itermonthdays3s& X   / /0@0@" EFr=c[R"SS9n[URSS55nUR USS5 UR USS5 g) Nr rrr r)rr r r r)rr r%r )rLrritermonthdays4rQ)rBrWdayss r:test_itermonthdays4$CalendarTestCase.test_itermonthdays4sRQ/C&&tQ/0 a/2 b#34r=c |[S5HYn[R"U5nSH:up4[UR X455nUR [ U5S5 M< M[ [R"SS9n[UR SS55nURU[[SS 555 g) Nr)r r )i'r)#*r rKrr r r&)rangerLrr itermonthdaysr5rrQrBrrWrmrMs r:test_itermonthdays#CalendarTestCase.test_itermonthdayss!!HL##L1C,C--a34 c$i2-%Q/C%%dA./ tE!RL12r=c [S5Htn[R"U5nSHUup4[UR X455nUR USSU5 UR USSUS- S-5 MW Mv g)NrrQrr r)rTrLrritermonthdays2rQrVs r:test_itermonthdays2$CalendarTestCase.test_itermonthdays2s{!!HL##L1C,C..q45  a\:  b!|a/?1.DE-%r=c[[S55n[S5HMn[R"U5n[UR 55nXSUSU-nUR XE5 MO g)Nr)rrTrLr iterweekdaysrQ)rBweek0rrWrexpecteds r:test_iterweekdays"CalendarTestCase.test_iterweekdayssdU1X!!HL##L1C((*+D]+eM\.BBH   T , %r=rKN)rrrrrrrrrrrrrr#r,r0r7rBrHrNrXr\rbrrKr=r:rrsj3 '*A A A$6L0.38C" C @ 5G5 3F-r=rc&\rSrSrSrSrSrSrg)MonthCalendarTestCaseicx[R"5Ul[R"UR5 gr6)rLroldfirstweekdayrr`s r:setUpMonthCalendarTestCase.setUps''446  !2!23r=cD[R"UR5 gr6)rLrrgr`s r:tearDownMonthCalendarTestCase.tearDowns  !5!56r=c [R"X5nUR[U5[U55 [ [U55H)nURX5[ SXE555 M+ g)Nc3*# UH oS:gv M g7f)rNrK)r|rzs r:r~4MonthCalendarTestCase.check_weeks..s*Fv!8vs)rL monthcalendarrQrrTsum)rBrrweeksrWis r: check_weeks!MonthCalendarTestCase.check_weekss\$$T1 S3u:.s5z"A   UXs*Fsv*F'F G#r=)rgN)rrrrrhrkrtrrKr=r:reres47Hr=rec>\rSrSr\R rSrSrSr Sr g)MondayTestCaseicURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 URS SS 5 g)Nr rrrrirrrrr r rrrrrrrrr irrrrr rJr rrrrrtr`s r: test_februaryMondayTestCase.test_februaryx q,/ q/2 q/2 q/2 q/2 q/2r=cURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 g) Nir rrrrr irrrrr ir rrrrr r rrrrir rrrrrr`s r: test_aprilMondayTestCase.test_april e q/2 q/2 q"45 q/2 q/2r=cURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 URS SS 5 g)Nirrrrrr r|rrrrr ir rrrrr r~r rrrrrr rrrrir rrrrr rr`s r: test_decemberMondayTestCase.test_decemberz r?3 r?3 r#56 r?3 r?3 r#56r=rKN) rrrrrLrrrrrrrKr=r:rwrw??L3&3 7r=rwc>\rSrSr\R rSrSrSr Sr g)SundayTestCasei1cURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 URS SS 5 g)Nir rzryr{r}rJrrirrr`s r:rSundayTestCase.test_february4rr=cURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 g) Nr ri~rirrriurrr`s r:rSundayTestCase.test_aprilGrr=cURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 URS SS 5 g)Ni rrirrririrrrrr`s r:rSundayTestCase.test_decemberWrr=rKN) rrrrrLrrrrrrrKr=r:rr1rr=rc"\rSrSr/SQrSrSrg)TimegmTestCaseij) rrdii'ii@BiIi;=Ki LcURH?n[R"U5nURU[R "U55 MA gr6) TIMESTAMPStimegmtimerQrLtimegm)rBsecstuples r: test_timegmTimegmTestCase.test_timegmms7OODKK%E   T8??5#9 :$r=rKN)rrrrrrrrKr=r:rrjs7J;r=rc>\rSrSrSrSrSrSrSrSr Sr S r g ) MonthRangeTestCaseircRUR[R"SS5S5 g)NrJr )r r(rQrL monthranger`s r: test_januaryMonthRangeTestCase.test_januarys ,,T!4f=r=cRUR[R"SS5S5 g)NrJr )rr&rr`s r:test_february_leap%MonthRangeTestCase.test_february_leapwrr=cRUR[R"SS5S5 g)Nr r )rr%rr`s r:test_february_nonleap(MonthRangeTestCase.test_february_nonleap{rr=cRUR[R"SS5S5 g)NrJr)r r(rr`s r:r MonthRangeTestCase.test_decembers ,,T"5v>r=cUR[R5 [R"SS5 SSS5 g!,(df  g=fr]rrLrrr`s r:test_zeroth_month$MonthRangeTestCase.test_zeroth_months2   x99 :   a (; : : A AcUR[R5 [R"SS5 SSS5 g!,(df  g=f)NrJrrr`s r:test_thirteenth_month(MonthRangeTestCase.test_thirteenth_months2   x99 :   b ); : :rcUR[RS5 [R"SS5 SSS5 g!,(df  g=f)N65rJA)rrLrrr`s r:test_illegal_month_reported.MonthRangeTestCase.test_illegal_month_reporteds5  # #H$>$> E   b )F E Es A ArKN) rrrrrrrrrrrrrKr=r:rrrs%>>>?) * *r=rc2\rSrSrSrSrSrSrSrSr g) LeapdaysTestCaseicRUR[R"SS5S5 g)Nr rrQrLleapdaysr`s r: test_no_rangeLeapdaysTestCase.test_no_range **45q9r=cRUR[R"SS5S5 g)Nr irrr`s r:test_no_leapdays!LeapdaysTestCase.test_no_leapdaysrr=cRUR[R"SS5S5 g)Nr rrr`s r:test_no_leapdays_upper_boundary0LeapdaysTestCase.test_no_leapdays_upper_boundaryrr=cRUR[R"SS5S5 g)Nrir rr`s r:test_one_leapday_lower_boundary0LeapdaysTestCase.test_one_leapday_lower_boundaryrr=cRUR[R"SS5S5 g)Nrirrr`s r:test_several_leapyears_in_range0LeapdaysTestCase.test_several_leapyears_in_ranges **45q9r=rKN) rrrrrrrrrrrKr=r:rrs:::::r=rc^URS[R5R5$)N )replaceoslineseprT)rCs r:convrs 99T2:: & - - //r=c\rSrSrSr\R S5r\R S5rSr Sr Sr Sr S r S rS rS rS rSrSrSrSrSrSrSrSrSrSrSrSrg)CommandLineTestCaseic>URUR/Ulgr6) run_cli_ok run_cmd_okrunnersr`s r:rhCommandLineTestCase.setUps9 r=c# # [Rn[R"5n[R"U5[l[Rv [RR 5 [RR RS5 U[lg![RR 5 [RR RS5 U[lf=f7fNr)rqstdoutioBytesIO TextIOWrapperflushbufferseek)rB orig_stdoutrs r:captured_stdout_with_buffer/CommandLineTestCase.captured_stdout_with_bufferjj %%f-  %**  JJ    JJ   " "1 %$CJ JJ    JJ   " "1 %$CJ ADB-AD-ADDc# # [Rn[R"5n[R"U5[l[Rv [RR 5 [RR RS5 U[lg![RR 5 [RR RS5 U[lf=f7fr)rqstderrrrrrrr)rB orig_stderrrs r:captured_stderr_with_buffer/CommandLineTestCase.captured_stderr_with_bufferrrcUR5n[R"U5 SSS5 WRR 5$!,(df  N(=fr6)rrLmainrread)rBargsrs r:rCommandLineTestCase.run_cli_oks=  - - /6 MM$ 0}}!!##0 /s A  Ac"[SS/UQ76S$)N-mrLr )rrBrs r:rCommandLineTestCase.run_cmd_oksj848;;r=cUR5nUR[[RU5 SSS5 WR R 5nURSU5 U$!,(df  N<=f)Nusage:)rr SystemExitrLrrrr5)rBrrs r:assertCLIFails"CommandLineTestCase.assertCLIFailssY  - - /6   j(-- >0##% i( 0 /s &A-- A;cr[SS/UQ76up#nURSU5 URUS5 X#U4$)Nr rLrr )rr5rQ)rBrrcrrs r:assertCmdFails"CommandLineTestCase.assertCmdFailssA24KdKF i( Q6!!r=c@UR"U6 UR"U6 gr6)rrr s r: assertFailure!CommandLineTestCase.assertFailures T" T"r=cURS5nURSU5 URSU5 URSU5 UR5nUR[[ R S/5 SSS5 WRR5nURSU5 URSU5 g!,(df  NM=f)Nz-hrs calendar.pys--help) rr5rrrrLrrr)rBrrYs r: test_helpCommandLineTestCase.test_helps& i( nf- i( - - /6   j(--$ @0##% i( i( 0 /s 'C CcURS5 URS5 URSS5 URSSS5 URSSS5 URSSSS5 URSSSS5 g)Nz-zspam2004r-thtml)rr`s r:test_illegal_arguments*CommandLineTestCase.test_illegal_argumentssz 4  6" 66* 63/ 63, 63V4 45r=c URHtnU"5n[RR5RnUR [ SU-5U5 UR SU5 UR SU5 Mv g)Nz %ssJanuarysMo Tu We Th Fr Sa Su)rrFnowrr5rrBrunrYrs r:test_output_current_year,CommandLineTestCase.test_output_current_yearse< ? r=cURS5 URS5 URH2nU"SSS5nURU[R S55 M4 g)Nz-e --encodingz utf-16-ler)rrrQr^rTr*s r:test_option_encoding(CommandLineTestCase.test_option_encodingsV 4  <(<Calendar for 2004)rrrQrr^r5r*s r:test_option_type$CommandLineTestCase.test_option_typeDs 4  8$ 4(<Calendar for %ss3January)rrFr$rr5rTr%s r:test_html_output_current_year1CommandLineTestCase.test_html_output_current_yearOsc<rCr*s r:test_html_output_year_css-CommandLineTestCase.test_html_output_year_css[sZ 4. 41<rr9rrEPOCHmdaysrSrrFebruarymonthlen nextmonth prevmonth formatstringdifferent_locale) not_exported)r check__all__rL)rBrjs r: test__all__MiscTestCase.test__all__esN  T8,Gr=rKN)rrrrrlrrKr=r:r`r`dsHr=r`cD\rSrSrSrSrSrSrSrSr Sr S r S r g ) TestSubClassingCaseimcN"SS[R5nU"5Ulg)Nc\rSrSr\R R VVs/sHoS-PM snnr/SQrSrSr Sr Sr Sr g s snnf) 0TestSubClassingCase.setUp..CustomHTMLCaliqz text-nowrap)redbluegreenlilacyelloworangepinkztext-center month-headr3z text-italic zlead rKN) rrrrrLrM cssclassesrAr6cssclass_month cssclass_yearcssclass_year_headr)r|styles00r: CustomHTMLCalrrqsR"//::<:6;.0:)rWrrAr5)rBheadercolors r:test_formatweek_head(TestSubClassingCase.test_formatweek_heads<**,XX55E MM+e3V <6r=cURSURR-URRS55 g)Nz=r)r5rWr|rer`s r:test_format_year$TestSubClassingCase.test_format_years6 L XX # #$&*hh&9&9$&? Ar=cURSSURRS4-URRS55 g)Nz,r r)r5rWr}rer`s r:test_format_year_head)TestSubClassingCase.test_format_year_heads@ D txx**DH2237883F3Ft3L Nr=)rWN) rrrrrhrrrrrrrrrKr=r:roroms- #95+P= A Nr=ro__main__)&rLrtestrtest.support.script_helperrrr]rFrr rrqrrr_rr^dictrNrRrrTestCaser3rrerwrrrrrrr`rorrrKr=r:rsN % N$N67C{|""! # !"" $  ""  !"" " """  ""  ! ""! # !""  "" !" """ $  ""  "" "#a?DI I IJI I IJ I I IJ I I IJ_=KBBX&&BBr-x((r-j HH-- H77*77t77*77r;X&&;****>:x((:*0x;(++x;vH8$$H/N(++/Nb z MMOr=
%s