MCPcopy Index your code
hub / github.com/python/cpython / NOFS

Class NOFS

Lib/test/datetimetester.py:5494–5496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5492 self.assertEqual(0, t.tm_isdst)
5493 # Same if utcoffset is None
5494 class NOFS(DST):
5495 def utcoffset(self, dt):
5496 return None
5497 d = cls(1, 2, 3, 10, 20, 30, 40, tzinfo=NOFS())
5498 t = d.utctimetuple()
5499 self.assertEqual(t[:-1], d.timetuple()[:-1])

Callers 1

test_utctimetupleMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_utctimetupleMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…