Skip to content

Commit

Permalink
Fix np.set_printoptions argument change in numpy 1.14.dev (scikit-lea…
Browse files Browse the repository at this point in the history
…rn#10132)

https://github.com/numpy/numpy/pull/9332/files change sign='legacy' to legacy=True in the np.set_printoptions arguments.
  • Loading branch information
lesteve authored Nov 14, 2017
1 parent 62eda82 commit 3f96eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
# the doctests pass
import numpy as np
try:
np.set_printoptions(sign='legacy')
np.set_printoptions(legacy=True)
except TypeError:
pass

0 comments on commit 3f96eee

Please sign in to comment.