Skip to content

Commit

Permalink
MAINT add docstring to explain the motivation of the fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Jul 4, 2014
1 parent ac45e5d commit 9a4c9f2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/tutorial/text_analytics/working_with_text_data_fixture.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
"""Fixture module to skip the datasets loading when offline
The 20 newsgroups data is rather large and some CI workers such as travis are
stateless hence will not cache the dataset as regular sklearn users would do.
The following will skip the execution of the working_with_text_data.rst doctests
is the proper environment variable is configured (see the source code of
check_skip_network for more details).
"""
from sklearn.utils.testing import check_skip_network


Expand Down

0 comments on commit 9a4c9f2

Please sign in to comment.