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

Method testTzStrSingleton

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

Source from the content-addressed store, hash-verified

1569 tz.tzstr('InvalidString;439999')
1570
1571 def testTzStrSingleton(self):
1572 tz1 = tz.tzstr('EST5EDT')
1573 tz2 = tz.tzstr('CST4CST')
1574 tz3 = tz.tzstr('EST5EDT')
1575
1576 self.assertIsNot(tz1, tz2)
1577 self.assertIs(tz1, tz3)
1578
1579 def testTzStrSingletonPosix(self):
1580 tz_t1 = tz.tzstr('GMT+3', posix_offset=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected