Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dateutil/dateutil
/ testTzOffsetSingletonDifferent
Method
testTzOffsetSingletonDifferent
tests/test_tz.py:750–754 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
748
assert tz1 is not tz2
749
750
def
testTzOffsetSingletonDifferent(self):
751
tz1 = tz.tzoffset(
'EST'
, timedelta(hours=-5))
752
tz2 = tz.tzoffset(
'EST'
, -18000)
753
754
assert tz1 is tz2
755
756
757
@pytest.mark.smoke
Callers
nothing calls this directly
Calls
1
tzoffset
Method · 0.80
Tested by
no test coverage detected