#393: need to return NotSupported to ensure correct arithmetic operator behavior
()
| 92 | env.GRAALPY and env.GRAALPY_VERSION < (24, 2), reason="Fixed in GraalPy 24.2" |
| 93 | ) |
| 94 | def test_operators_notimplemented(): |
| 95 | """#393: need to return NotSupported to ensure correct arithmetic operator behavior""" |
| 96 | |
| 97 | c1, c2 = m.C1(), m.C2() |
| 98 | assert c1 + c1 == 11 |
| 99 | assert c2 + c2 == 22 |
| 100 | assert c2 + c1 == 21 |
| 101 | assert c1 + c2 == 12 |
| 102 | |
| 103 | |
| 104 | def test_nested(): |
nothing calls this directly
no outgoing calls
no test coverage detected