MCPcopy Create free account
hub / github.com/dateutil/dateutil / testFuzzy

Method testFuzzy

tests/test_parser.py:490–495  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

488 datetime(2003, 9, 25))
489
490 def testFuzzy(self):
491 s = "Today is 25 of September of 2003, exactly " \
492 "at 10:49:41 with timezone -03:00."
493 self.assertEqual(parse(s, fuzzy=True),
494 datetime(2003, 9, 25, 10, 49, 41,
495 tzinfo=self.brsttz))
496
497 def testFuzzyWithTokens(self):
498 s1 = "Today is 25 of September of 2003, exactly " \

Callers

nothing calls this directly

Calls 1

parseFunction · 0.90

Tested by

no test coverage detected