Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dateutil/dateutil
/ test_tzoffset_singleton
Function
test_tzoffset_singleton
tests/test_tz.py:785–789 ·
view source on GitHub ↗
(args)
Source
from the content-addressed store, hash-verified
783
(None, timedelta(hours=3)),
784
])
785
def
test_tzoffset_singleton(args):
786
tz1 = tz.tzoffset(*args)
787
tz2 = tz.tzoffset(*args)
788
789
assert tz1 is tz2
790
791
792
@pytest.mark.tzoffset
Callers
nothing calls this directly
Calls
1
tzoffset
Method · 0.80
Tested by
no test coverage detected