From 3f96eeedd122d6cb83536e0650dc5735546f3692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= Date: Tue, 14 Nov 2017 13:34:27 +0100 Subject: [PATCH] Fix np.set_printoptions argument change in numpy 1.14.dev (#10132) https://github.com/numpy/numpy/pull/9332/files change sign='legacy' to legacy=True in the np.set_printoptions arguments. --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index 25275e11aa1d3..c4bed49c6df70 100644 --- a/conftest.py +++ b/conftest.py @@ -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