| 254 | def test_nowarn_notimplemented(): |
| 255 | f = HTMLFormatter() |
| 256 | class HTMLNotImplemented(object): |
| 257 | def _repr_html_(self): |
| 258 | raise NotImplementedError |
| 259 | h = HTMLNotImplemented() |
| 260 | with capture_output() as captured: |
| 261 | result = f(h) |
no outgoing calls