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

Method testFuzzy

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

Source from the content-addressed store, hash-verified

500 datetime(2003, 9, 25))
501
502 def testFuzzy(self):
503 s = "Today is 25 of September of 2003, exactly " \
504 "at 10:49:41 with timezone -03:00."
505 self.assertEqual(parse(s, fuzzy=True),
506 datetime(2003, 9, 25, 10, 49, 41,
507 tzinfo=self.brsttz))
508
509 def testFuzzyWithTokens(self):
510 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