Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dbcli/mycli
/ astimezone
Method
astimezone
test/pytests/test_special_utils.py:257–258 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
255
return
FakeDatetime()
256
257
def
astimezone(self) -> FakeAwareDatetime:
258
return
FakeAwareDatetime()
259
260
monkeypatch.setattr(mycli.packages.special.utils.datetime,
'datetime'
, FakeDatetime)
261
Callers
1
get_local_timezone
Function · 0.80
Calls
1
FakeAwareDatetime
Class · 0.85
Tested by
no test coverage detected