(self)
| 4120 | self.assertEqual(c, 2) |
| 4121 | |
| 4122 | def test_no_ipow(self): |
| 4123 | class B: |
| 4124 | def __rpow__(self, other): |
| 4125 | return 1 |
| 4126 | |
| 4127 | a = object() |
| 4128 | b = B() |
| 4129 | a **= b |
| 4130 | self.assertEqual(a, 1) |
| 4131 | |
| 4132 | def test_ipow_exception_text(self): |
| 4133 | x = None |
nothing calls this directly
no test coverage detected