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

Method test_strptime_T_format

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

Source from the content-addressed store, hash-verified

3813 self.assertEqual(repr(td), "SubclassDatetime(2010, 10, 2, 0, 0, 3)")
3814
3815 def test_strptime_T_format(self):
3816 test_time = "15:00:00"
3817 self.assertEqual(
3818 self.theclass.strptime(test_time, "%T"),
3819 self.theclass.strptime(test_time, "%H:%M:%S")
3820 )
3821
3822
3823class TestSubclassDateTime(TestDateTime):

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
strptimeMethod · 0.45

Tested by

no test coverage detected