See datetime.tzinfo.tzname is_dst is ignored for StaticTzInfo, and exists only to retain compatibility with DstTzInfo.
(self, dt, is_dst=None)
| 102 | return _notime |
| 103 | |
| 104 | def tzname(self, dt, is_dst=None): |
| 105 | '''See datetime.tzinfo.tzname |
| 106 | |
| 107 | is_dst is ignored for StaticTzInfo, and exists only to |
| 108 | retain compatibility with DstTzInfo. |
| 109 | ''' |
| 110 | return self._tzname |
| 111 | |
| 112 | def localize(self, dt, is_dst=False): |
| 113 | '''Convert naive time to local time''' |
nothing calls this directly
no outgoing calls
no test coverage detected