Skip to content

Commit cb8d1bb

Browse files
Fix test
1 parent afb8fcf commit cb8d1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/datetimetester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,7 @@ def test_valuerror_messages(self):
20012001
# days out of range have their own error message, see issue 70647
20022002
with self.assertRaises(ValueError) as msg:
20032003
self.theclass(2009, 1, 32)
2004-
self.assertIn(f"day 32 must be in range 1..30 for month 4 in year 2009", str(msg.exception))
2004+
self.assertIn(f"day 32 must be in range 1..31 for month 1 in year 2009", str(msg.exception))
20052005

20062006
def test_fromisoformat(self):
20072007
# Test that isoformat() is reversible

0 commit comments

Comments
 (0)