Update the -test patch for the latest matplotlib release.

This commit is contained in:
Jerry James 2016-07-22 14:27:28 -06:00
parent 46d238539c
commit f76269acaf
2 changed files with 8 additions and 4 deletions

View File

@ -18,16 +18,17 @@
def test_line_color():
--- sympy/plotting/tests/test_plot.py.orig 2016-03-08 11:35:33.000000000 -0700
+++ sympy/plotting/tests/test_plot.py 2016-03-26 14:45:27.323017358 -0600
@@ -244,8 +244,9 @@ def plot_and_save(name):
+++ sympy/plotting/tests/test_plot.py 2016-07-22 12:23:35.003568600 -0600
@@ -244,8 +244,10 @@ def plot_and_save(name):
p.save(tmp_file('%s_advanced_integral' % name))
p._backend.close()
# Make sure no other warnings were raised
- assert len(w) == 1
- assert issubclass(w[-1].category, UserWarning)
+ assert len(w) == 2
+ assert len(w) == 3
+ assert issubclass(w[0].category, UserWarning)
+ assert issubclass(w[1].category, FutureWarning)
+ assert issubclass(w[1].category, UserWarning)
+ assert issubclass(w[2].category, DeprecationWarning)
assert "The evaluation of the expression is problematic" in str(w[0].message)
s = Sum(1/x**y, (x, 1, oo))

View File

@ -206,6 +206,9 @@ popd
%{_docdir}/%{name}-doc/html
%changelog
* Fri Jul 22 2016 Jerry James <loganjerry@gmail.com> - 1.0-3
- Update the -test patch for the latest matplotlib release
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages