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 --- tests/hypothesis/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/hypothesis/__init__.py') diff --git a/tests/hypothesis/__init__.py b/tests/hypothesis/__init__.py index 4b540884..0b344066 100644 --- a/tests/hypothesis/__init__.py +++ b/tests/hypothesis/__init__.py @@ -3,3 +3,7 @@ # for complete details. from __future__ import absolute_import, division, print_function + +import pytest +# hypothesis no longer supports Python 2.6 so we simply skip it there +pytest.importorskip("hypothesis") -- cgit v1.2.3