Update calendar.py and test_calendar.py from CPython v3.12
#5169
+68
−25
calendar.py and test_calendar.py from CPython v3.12
#5169