aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/parso/py3/tests/test_grammar.py
blob: 60a249b8f15a1948cdd6a388c6b815e6a17831f8 (plain) (blame)
1
2
3
4
5
6
7
8
import parso

import pytest


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