assert equality of C and P status
(self)
| 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. |