config objects don't pretend to support fancy reprs with lazy attrs
()
| 432 | |
| 433 | |
| 434 | def test_format_config(): |
| 435 | """config objects don't pretend to support fancy reprs with lazy attrs""" |
| 436 | f = HTMLFormatter() |
| 437 | cfg = Config() |
| 438 | with capture_output() as captured: |
| 439 | result = f(cfg) |
| 440 | assert result is None |
| 441 | assert captured.stderr == "" |
| 442 | |
| 443 | with capture_output() as captured: |
| 444 | result = f(Config) |
| 445 | assert result is None |
| 446 | assert captured.stderr == "" |
| 447 | |
| 448 | |
| 449 | def test_pretty_max_seq_length(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…