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

Method test_convert_time

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

Source from the content-addressed store, hash-verified

78 )
79
80 def test_convert_time(self):
81 expected = datetime.time(23, 6, 20)
82 time_obj = converters.convert_time("23:06:20")
83 self.assertEqual(time_obj, expected)
84
85 def test_convert_time_with_fsp(self):
86 expected = datetime.time(23, 6, 20, 511581)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected