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

Method setUp

Lib/test/test_calendar.py:745–747  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

743
744class MonthCalendarTestCase(unittest.TestCase):
745 def setUp(self):
746 self.oldfirstweekday = calendar.firstweekday()
747 calendar.setfirstweekday(self.firstweekday)
748
749 def tearDown(self):
750 calendar.setfirstweekday(self.oldfirstweekday)

Callers

nothing calls this directly

Calls 1

setfirstweekdayMethod · 0.80

Tested by

no test coverage detected