Skip to content

Commit 8b7cd2e

Browse files
committed
Expand test_weekend
1 parent e101444 commit 8b7cd2e

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

tests/countries/test_taiwan.py

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,26 +1282,35 @@ def test_2025(self):
12821282

12831283
def test_weekend(self):
12841284
for dt in (
1285-
"1998-02-01", # SUN
1286-
"1998-02-08", # SUN
1285+
"1998-02-01", # SUN.
1286+
"1998-02-08", # SUN.
12871287
"1998-02-14", # 2nd SAT.
1288-
"1998-02-15", # SUN
1289-
"1998-02-22", # SUN
1288+
"1998-02-15", # SUN.
1289+
"1998-02-22", # SUN.
12901290
"1998-02-28", # 4th SAT.
1291-
"2001-02-03", # SAT
1292-
"2001-02-04", # SUN
1293-
"2001-02-10", # SAT
1294-
"2001-02-11", # SUN
1295-
"2001-02-17", # SAT
1296-
"2001-02-18", # SUN
1297-
"2001-02-24", # SAT
1298-
"2001-02-25", # SUN
1291+
"1998-10-04", # SUN.
1292+
"1998-10-10", # 2nd SAT.
1293+
"1998-10-11", # SUN.
1294+
"1998-10-18", # SUN.
1295+
"1998-10-24", # 4th SAT.
1296+
"1998-10-25", # SUN.
1297+
"2001-02-03", # SAT.
1298+
"2001-02-04", # SUN.
1299+
"2001-02-10", # SAT.
1300+
"2001-02-11", # SUN.
1301+
"2001-02-17", # SAT.
1302+
"2001-02-18", # SUN.
1303+
"2001-02-24", # SAT.
1304+
"2001-02-25", # SUN.
12991305
):
13001306
self.assertTrue(self.holidays.is_weekend(dt))
13011307

13021308
for dt in (
13031309
"1998-02-07", # 1st SAT.
13041310
"1998-02-21", # 3rd SAT.
1311+
"1998-10-03", # 1st SAT.
1312+
"1998-10-17", # 3rd SAT.
1313+
"1998-10-31", # 5th SAT.
13051314
):
13061315
self.assertFalse(self.holidays.is_weekend(dt))
13071316

0 commit comments

Comments
 (0)