aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/parso/py3/tests/test_grammar.py
blob: a18265229c50c5d83dadcaf3dadbfab582763a8d (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')