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

Method testTzStrFailure

tests/test_tz.py:1567–1569  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1565 self.assertEqual(repr(TZS2), "tzstr(" + repr('EST') + ")")
1566
1567 def testTzStrFailure(self):
1568 with self.assertRaises(ValueError):
1569 tz.tzstr('InvalidString;439999')
1570
1571 def testTzStrSingleton(self):
1572 tz1 = tz.tzstr('EST5EDT')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected