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

Method test_strptime_D_format

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

Source from the content-addressed store, hash-verified

2205 )
2206
2207 def test_strptime_D_format(self):
2208 test_date = "11/28/25"
2209 self.assertEqual(
2210 self.theclass.strptime(test_date, "%D"),
2211 self.theclass.strptime(test_date, "%m/%d/%y")
2212 )
2213
2214 def test_strptime_n_and_t_format(self):
2215 format_directives = ('%n', '%t', '%n%t', '%t%n')

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
strptimeMethod · 0.45

Tested by

no test coverage detected