aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py3-hypothesis/check.py
blob: 1250548c7dd55fe4824c4880cd272a72e642e98d (plain)
1
2
3
4
5
6
from hypothesis import given
from hypothesis.strategies import text

@given(s=text())
def test_decode_inverts_encode(s):
    assert s.encode("UTF").decode("UTF-8") == s