From dac21535559575c800cad79280a231e559162cda Mon Sep 17 00:00:00 2001 From: Jean-Louis Fuchs Date: Mon, 25 Dec 2017 00:00:37 +0100 Subject: unmaintained/py3-hypothesis: move from testing They release about twice a week, we can't keep up with this. --- unmaintained/py3-hypothesis/check.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 unmaintained/py3-hypothesis/check.py (limited to 'unmaintained/py3-hypothesis/check.py') diff --git a/unmaintained/py3-hypothesis/check.py b/unmaintained/py3-hypothesis/check.py new file mode 100644 index 0000000000..1250548c7d --- /dev/null +++ b/unmaintained/py3-hypothesis/check.py @@ -0,0 +1,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 -- cgit v1.2.3