From de3aa05c45c5144422c9139e385630b1d928b73f Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 19 Feb 2016 07:33:56 -0500 Subject: Don't try to use hypothesis on Python 2.6, upstream dropped support --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 72675295..88dfd7de 100644 --- a/setup.py +++ b/setup.py @@ -61,9 +61,11 @@ test_requirements = [ "pytest", "pretend", "iso8601", - "hypothesis>=1.11.4", "pyasn1_modules", ] +if sys.version_info[:2] > (2, 6): + test_requirements.append("hypothesis>=1.11.4") + # If there's no vectors locally that probably means we are in a tarball and # need to go and get the matching vectors package from PyPi -- cgit v1.2.3