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

Method assert_eq_status

Modules/_decimal/tests/deccheck.py:285–290  ·  view source on GitHub ↗

assert equality of C and P status

(self)

Source from the content-addressed store, hash-verified

283 self.p.flags[CondMap[signal]] = True
284
285 def assert_eq_status(self):
286 """assert equality of C and P status"""
287 for signal in self.c.flags:
288 if self.c.flags[signal] == (not self.p.flags[CondMap[signal]]):
289 return False
290 return True
291
292
293# We don't want exceptions so that we can compare the status flags.

Callers 2

convertFunction · 0.80
verifyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected