Same comment about single-equals assignment followed by double-equals comparison. Might want to use an extra variable here:
```python
display_name_only = (descriptor.category == 'static_tab')
partial(wrap_xblock, 'PreviewRuntime', display_name_only=display_name_only)
```