Skip to content

Commit

Permalink
fix joblib error
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Nov 28, 2018
1 parent 88c5e28 commit 874cc77
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/load_tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def reset_warnings():
warnings.simplefilter("error")
ignore_numpy_warning()
ignore_igraph_warning()
ignore_joblib_warning()


def ignore_numpy_warning():
Expand All @@ -34,6 +35,13 @@ def ignore_igraph_warning():
"ConfigParser directly instead")


def ignore_joblib_warning():
warnings.filterwarnings(
"ignore", category=DeprecationWarning,
message="check_pickle is deprecated in joblib 0.12 and will be removed"
" in 0.13")


reset_warnings()

global digits
Expand Down

0 comments on commit 874cc77

Please sign in to comment.