MCPcopy Create free account
hub / github.com/Vector35/debugger / expect_divide_by_zero

Method expect_divide_by_zero

test/debugger_test.py:137–141  ·  view source on GitHub ↗
(self, reason)

Source from the content-addressed store, hash-verified

135 # dbg.quit_and_wait()
136
137 def expect_divide_by_zero(self, reason):
138 if platform.system() == 'Linux':
139 self.assertEqual(reason, DebugStopReason.SignalFpe)
140 else:
141 self.assertEqual(reason, DebugStopReason.Calculation)
142
143 def test_exception_divzero(self):
144 fpath = name_to_fpath('do_exception', self.arch)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected