MCPcopy Index your code
hub / github.com/RustPython/RustPython / NOFS

Class NOFS

Lib/test/datetimetester.py:5307–5309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5305 self.assertEqual(0, t.tm_isdst)
5306 # Same if utcoffset is None
5307 class NOFS(DST):
5308 def utcoffset(self, dt):
5309 return None
5310 d = cls(1, 2, 3, 10, 20, 30, 40, tzinfo=NOFS())
5311 t = d.utctimetuple()
5312 self.assertEqual(t[:-1], d.timetuple()[:-1])

Callers 1

test_utctimetupleMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_utctimetupleMethod · 0.68