Skip to content

Commit 779b49a

Browse files
committed
Final review fixes
1 parent 5c6e2bd commit 779b49a

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

ci/check_imports.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
'html5lib',
1010
'ipython',
1111
'jinja2'
12+
'hypothesis',
1213
'lxml',
1314
'numexpr',
1415
'openpyxl',

doc/source/install.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ pandas is equipped with an exhaustive set of unit tests, covering about 97% of
202202
the code base as of this writing. To run it on your machine to verify that
203203
everything is working (and that you have all of the dependencies, soft and hard,
204204
installed), make sure you have `pytest
205-
<http://docs.pytest.org/en/latest/>`__ >= 3.6 and run:
205+
<http://docs.pytest.org/en/latest/>`__ >= 3.6 and `Hypothesis
206+
<https://hypothesis.readthedocs.io/>`__ >= 3.58, then run:
206207

207208
::
208209

doc/source/whatsnew/v0.24.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ Build Changes
729729
^^^^^^^^^^^^^
730730

731731
- Building pandas for development now requires ``cython >= 0.28.2`` (:issue:`21688`)
732+
- 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>` .
732733
-
733734

734735
Other

pandas/util/_tester.py

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ def test(extra_args=None):
1212
import pytest
1313
except ImportError:
1414
raise ImportError("Need pytest>=3.0 to run tests")
15+
try:
16+
import hypothesis # noqa
17+
except ImportError:
18+
raise ImportError("Need hypothesis>=3.58 to run tests")
1519
cmd = ['--skip-slow', '--skip-network']
1620
if extra_args:
1721
if not isinstance(extra_args, list):

0 commit comments

Comments
 (0)