MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / test_convert_time

Method test_convert_time

pymysql/tests/test_converters.py:72–75  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 )
71
72 def test_convert_time(self):
73 expected = datetime.time(23, 6, 20)
74 time_obj = converters.convert_time("23:06:20")
75 self.assertEqual(time_obj, expected)
76
77 def test_convert_time_with_fsp(self):
78 expected = datetime.time(23, 6, 20, 511581)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected