Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ tzname
Method
tzname
Lib/test/datetimetester.py:6539–6540 ·
view source on GitHub ↗
(self, dt)
Source
from the content-addressed store, hash-verified
6537
return
ZERO
if
isdst
else
HOUR
6538
6539
def
tzname(self, dt):
6540
return
self._find_ti(dt, 2)
6541
6542
@classmethod
6543
def
zonenames(cls, zonedir=None):
Callers
15
test_pickling_subclass
Method · 0.45
test_str
Method · 0.45
test_tzname
Method · 0.45
test_aware_datetime
Method · 0.45
test_strptime
Method · 0.45
test_strptime_tz
Method · 0.45
test_argument_passing
Method · 0.45
test_tzinfo_classes
Method · 0.45
test_zones
Method · 0.45
test_pickling
Method · 0.45
test_compat_unpickle
Method · 0.45
test_replace
Method · 0.45
Calls
1
_find_ti
Method · 0.95
Tested by
no test coverage detected