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

Class BOFS

Lib/test/datetimetester.py:5502–5504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5500 self.assertEqual(0, t.tm_isdst)
5501 # Check that bad tzinfo is detected
5502 class BOFS(DST):
5503 def utcoffset(self, dt):
5504 return "EST"
5505 d = cls(1, 2, 3, 10, 20, 30, 40, tzinfo=BOFS())
5506 self.assertRaises(TypeError, d.utctimetuple)
5507

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…