(self)
| 1473 | """Tests for MyRenderer.block_code() -- Pygments highlighting.""" |
| 1474 | |
| 1475 | def test_python_highlighting(self): |
| 1476 | result = markdown_renderer('```python\nprint("hello")\n```') |
| 1477 | self.assertIn('class="highlight"', result) |
| 1478 | self.assertIn('print', result) |
| 1479 | |
| 1480 | def test_no_language_fallback(self): |
| 1481 | result = markdown_renderer('```\nplain text\n```') |
nothing calls this directly
no test coverage detected