()
| 297 | |
| 298 | |
| 299 | def test_broken_getattr() -> None: |
| 300 | class BrokenAttr: |
| 301 | def __getattr__(self, name): |
| 302 | 1 / 0 |
| 303 | |
| 304 | def __repr__(self): |
| 305 | return "BrokenAttr()" |
| 306 | |
| 307 | test = BrokenAttr() |
| 308 | result = pretty_repr(test) |
| 309 | assert result == "BrokenAttr()" |
| 310 | |
| 311 | |
| 312 | def test_reference_cycle_container() -> None: |
nothing calls this directly
no test coverage detected