Might want to move the except up above the assert:
```
try:
    html = from_string(...)
except ParserError:
    assert_html(block, content, True)
else:
    assert_html(block, html)
```

Less clear, I know, but you don't have to worry about assert_student_view_html raising a ParserError (!?)