Skip to content

Commit

Permalink
Final review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Aug 24, 2018
1 parent 2781cb9 commit 7c86fac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions ci/check_imports.py
Expand Up @@ -9,6 +9,7 @@
'html5lib',
'ipython',
'jinja2'
'hypothesis',
'lxml',
'numexpr',
'openpyxl',
Expand Down
3 changes: 2 additions & 1 deletion doc/source/install.rst
Expand Up @@ -202,7 +202,8 @@ pandas is equipped with an exhaustive set of unit tests, covering about 97% of
the code base as of this writing. To run it on your machine to verify that
everything is working (and that you have all of the dependencies, soft and hard,
installed), make sure you have `pytest
<http://docs.pytest.org/en/latest/>`__ >= 3.6 and run:
<http://docs.pytest.org/en/latest/>`__ >= 3.6 and `Hypothesis
<https://hypothesis.readthedocs.io/>`__ >= 3.58, then run:

::

Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.24.0.txt
Expand Up @@ -729,6 +729,7 @@ Build Changes
^^^^^^^^^^^^^

- Building pandas for development now requires ``cython >= 0.28.2`` (:issue:`21688`)
- Testing pandas now requires ``hypothesis>=3.58`` (:issue:22280). You can find `the Hypothesis docs here <https://hypothesis.readthedocs.io/en/latest/index.html>`_, and a pandas-specific introduction :ref:`in the contributing guide <using-hypothesis>` .
-

Other
Expand Down
4 changes: 4 additions & 0 deletions pandas/util/_tester.py
Expand Up @@ -12,6 +12,10 @@ def test(extra_args=None):
import pytest
except ImportError:
raise ImportError("Need pytest>=3.0 to run tests")
try:
import hypothesis # noqa
except ImportError:
raise ImportError("Need hypothesis>=3.58 to run tests")
cmd = ['--skip-slow', '--skip-network']
if extra_args:
if not isinstance(extra_args, list):
Expand Down

0 comments on commit 7c86fac

Please sign in to comment.