diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-02-19 07:33:56 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-02-19 07:33:56 -0500 |
commit | de3aa05c45c5144422c9139e385630b1d928b73f (patch) | |
tree | 8b8b844bbbf61c5b2dcc6b188514034af2c85471 /tests/hypothesis | |
parent | f068325e25dbacd1c12e6b684539320f1ce18c4c (diff) | |
download | cryptography-de3aa05c45c5144422c9139e385630b1d928b73f.tar.gz cryptography-de3aa05c45c5144422c9139e385630b1d928b73f.tar.bz2 cryptography-de3aa05c45c5144422c9139e385630b1d928b73f.zip |
Don't try to use hypothesis on Python 2.6, upstream dropped support
Diffstat (limited to 'tests/hypothesis')
-rw-r--r-- | tests/hypothesis/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
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") |