mirror of https://github.com/Textualize/rich.git
9 lines
179 B
Python
9 lines
179 B
Python
|
import pytest
|
||
|
from rich.highlighter import NullHighlighter
|
||
|
|
||
|
|
||
|
def test_wrong_type():
|
||
|
highlighter = NullHighlighter()
|
||
|
with pytest.raises(TypeError):
|
||
|
highlighter([])
|