Skip to content

Commit

Permalink
Merge pull request #2726 from alex/hypothesis-2.6
Browse files Browse the repository at this point in the history
Don't try to use hypothesis on Python 2.6, upstream dropped support
  • Loading branch information
reaperhulk committed Mar 1, 2016
1 parent f10db01 commit be6a25c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@
"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
Expand Down
4 changes: 4 additions & 0 deletions tests/hypothesis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit be6a25c

Please sign in to comment.