orion pushed to sympy (epel7). "Fix XFAIL import in test failure workaround."
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu May 21 16:12:33 UTC 2015
From 61fcaaf6baac877b69b6a1adfa103dec5ae8dffb Mon Sep 17 00:00:00 2001
From: Jerry James <jamesjer at betterlinux.com>
Date: Fri, 5 Dec 2014 13:04:26 -0700
Subject: Fix XFAIL import in test failure workaround.
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
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/sympy.git/commit/?h=epel7&id=61fcaaf6baac877b69b6a1adfa103dec5ae8dffb
More information about the scm-commits
mailing list