Commit 9bfd176
test(tirx): document why test_eq_ops keeps
The `== None` / `!= None` comparisons in `test_eq_ops` are intentional:
the test exercises the overloaded `__eq__` / `__ne__` operators on
`IntImm` / `StringImm`, which raise `ValueError` when coerced to bool.
Rewriting them as `is None` / `is not None` bypasses the overloads and
breaks the test, so add a NOTE comment flagging the constraint.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>== None / != None
1 parent 958a73d commit 9bfd176
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| |||
0 commit comments