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

Method assert_rest

Lib/test/test_decimal.py:4428–4431  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

4426 IEEEContext = self.decimal.IEEEContext
4427
4428 def assert_rest(self, context):
4429 self.assertEqual(context.clamp, 1)
4430 assert_signals(self, context, 'traps', [])
4431 assert_signals(self, context, 'flags', [])
4432
4433 c = IEEEContext(32)
4434 self.assertEqual(c.prec, 7)

Callers

nothing calls this directly

Calls 2

assert_signalsFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected