(self)
| 4034 | self.assertEqual(c, 2) |
| 4035 | |
| 4036 | def test_no_ipow(self): |
| 4037 | class B: |
| 4038 | def __rpow__(self, other): |
| 4039 | return 1 |
| 4040 | |
| 4041 | a = object() |
| 4042 | b = B() |
| 4043 | a **= b |
| 4044 | self.assertEqual(a, 1) |
| 4045 | |
| 4046 | def test_ipow_exception_text(self): |
| 4047 | x = None |
nothing calls this directly
no test coverage detected