MCPcopy Index your code
hub / github.com/python/cpython / test_strptime_F_format

Method test_strptime_F_format

Lib/test/datetimetester.py:2200–2205  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2198 self.theclass.fromisocalendar(*isocal)
2199
2200 def test_strptime_F_format(self):
2201 test_date = "2025-10-26"
2202 self.assertEqual(
2203 self.theclass.strptime(test_date, "%F"),
2204 self.theclass.strptime(test_date, "%Y-%m-%d")
2205 )
2206
2207 def test_strptime_D_format(self):
2208 test_date = "11/28/25"

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
strptimeMethod · 0.45

Tested by

no test coverage detected