MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / test_date_only

Method test_date_only

tests/preprocess/test_time.py:44–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 self.assertEqual(result.microsecond, 123456)
43
44 def test_date_only(self):
45 result = parse_filing_date("2024-04-15")
46 self.assertEqual(result.year, 2024)
47 self.assertEqual(result.hour, 0)
48 self.assertEqual(result.tzinfo, timezone.utc)
49
50 def test_journal_long_form(self):
51 result = parse_filing_date("Apr 15, 2024")

Callers

nothing calls this directly

Calls 1

parse_filing_dateFunction · 0.90

Tested by

no test coverage detected