spacevim/bundle/jedi-vim/pythonx/parso/test/test_grammar.py

9 lines
127 B
Python
Raw Normal View History

2024-08-21 14:17:26 +08:00
import parso
import pytest
def test_non_unicode():
with pytest.raises(UnicodeDecodeError):
parso.parse(b'\xe4')