test_grammar.py 127 B

12345678
  1. import parso
  2. import pytest
  3. def test_non_unicode():
  4. with pytest.raises(UnicodeDecodeError):
  5. parso.parse(b'\xe4')