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