[sympy] Fix XFAIL import in test failure workaround.
Jerry James
jjames at fedoraproject.org
Fri Dec 5 20:04:45 UTC 2014
commit 61fcaaf6baac877b69b6a1adfa103dec5ae8dffb
Author: Jerry James <jamesjer at betterlinux.com>
Date: Fri Dec 5 13:04:26 2014 -0700
Fix XFAIL import in test failure workaround.
sympy.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sympy.spec b/sympy.spec
index 336d352..dc30fef 100644
--- a/sympy.spec
+++ b/sympy.spec
@@ -94,7 +94,7 @@ cp -a . %{py3dir}
# One plotting test expects one warning, which happens with python < 3.4, but
# the same warning is triggered in a different spot with python 3.4, leading
# to an assertion failure.
-sed -e 's/import warnings/&, XFAIL/' \
+sed -e '/import warnings/ifrom sympy.utilities.pytest import XFAIL' \
-e '/^def test_matplotlib():/i at XFAIL' \
-i %{py3dir}/sympy/plotting/tests/test_plot_implicit.py
More information about the scm-commits
mailing list