1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 06:00:05 +08:00
SpaceVim/bundle/jedi-vim/pythonx/parso/test/test_grammar.py
2022-10-23 15:41:52 +08:00

9 lines
127 B
Python

import parso
import pytest
def test_non_unicode():
with pytest.raises(UnicodeDecodeError):
parso.parse(b'\xe4')