We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afb8fcf commit cb8d1bbCopy full SHA for cb8d1bb
Lib/test/datetimetester.py
@@ -2001,7 +2001,7 @@ def test_valuerror_messages(self):
2001
# days out of range have their own error message, see issue 70647
2002
with self.assertRaises(ValueError) as msg:
2003
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))
+ self.assertIn(f"day 32 must be in range 1..31 for month 1 in year 2009", str(msg.exception))
2005
2006
def test_fromisoformat(self):
2007
# Test that isoformat() is reversible
0 commit comments