From 42ea0d1795797c7f52ba714147e2bbc29dad9deb Mon Sep 17 00:00:00 2001 From: Terry Chia Date: Sun, 27 Sep 2015 20:26:09 +0800 Subject: Pin version of hypothesis above 1.11.4. --- tests/test_with_hypothesis.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/test_with_hypothesis.py') diff --git a/tests/test_with_hypothesis.py b/tests/test_with_hypothesis.py index 261a21d6..1e39b6b1 100644 --- a/tests/test_with_hypothesis.py +++ b/tests/test_with_hypothesis.py @@ -1,11 +1,14 @@ +from hypothesis import binary + import pytest from cryptography.fernet import Fernet + hypothesis = pytest.importorskip("hypothesis") -@hypothesis.given(bytes) +@hypothesis.given(binary()) def test_fernet(data): f = Fernet(Fernet.generate_key()) ct = f.encrypt(data) -- cgit v1.2.3