Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ce0d24a

Browse files
committedJul 10, 2018
TST fix ignore_warnings
1 parent f901c38 commit ce0d24a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎sklearn/datasets/tests/test_mldata.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_download(tmpdata):
6262
datasets.mldata.urlopen = _urlopen_ref
6363

6464

65-
@ignore_warnings
65+
@ignore_warnings(category=DeprecationWarning)
6666
def test_fetch_one_column(tmpdata):
6767
_urlopen_ref = datasets.mldata.urlopen
6868
try:
@@ -86,7 +86,7 @@ def test_fetch_one_column(tmpdata):
8686
datasets.mldata.urlopen = _urlopen_ref
8787

8888

89-
@ignore_warnings
89+
@ignore_warnings(category=DeprecationWarning)
9090
def test_fetch_multiple_column(tmpdata):
9191
_urlopen_ref = datasets.mldata.urlopen
9292
try:

0 commit comments

Comments
 (0)
Failed to load comments.