Legacy array printing for NumPy 1.14+#2810
Conversation
66f9204 to
eae8ffc
Compare
|
I first tried to put the following after every But decided that was a cleaner solution. Unfortunately, I am still getting errors. I believe these errors are not related to the changes in how NumPy prints arrays, but are due to changes between pydot 1.2.3 and pydot 1.2.4. If that seems correct, I would like to merge this and then fix the pydot 1.2.4 issue. I haven't looked into what it takes to fix the 1.2.4 (vs. 1.2.3 of pydot). @dschult Any thoughts about this? |
eae8ffc to
8e00464
Compare
8e00464 to
cc07974
Compare
|
This PR allowed all tests to pass for many days. But now it has changed again so that the error shows when the documentation build process tests the doctests. In Travis it is the first config that produces the error in e.g. #2816 . Not sure why the legacy print options would not work in this environment. |
See Legacy array printing for NumPy 1.14+ (networkx#2810) That fix worked for nose, but doesn't seem to work for sphinx.
See Legacy array printing for NumPy 1.14+ (#2810) That fix worked for nose, but doesn't seem to work for sphinx.
https://github.com/numpy/numpy/blob/master/doc/release/1.14.0-notes.rst
This fixes a bunch of failures like: