mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
7 lines
169 B
Python
7 lines
169 B
Python
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
|