[pytest] Disable one more test on Python3.

Thomas Moschny thm at fedoraproject.org
Fri Oct 12 18:09:24 UTC 2012


commit 8328a813c18ad459793808d912013389cbe224a2
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Fri Oct 12 20:08:44 2012 +0200

    Disable one more test on Python3.

 pytest.spec |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/pytest.spec b/pytest.spec
index b026641..b4361f6 100644
--- a/pytest.spec
+++ b/pytest.spec
@@ -112,13 +112,12 @@ rm -rf %{buildroot}
 
 %check
 PYTHONPATH=%{buildroot}%{python_sitelib} \
-  %{buildroot}%{_bindir}/py.test -r s \
-  -k-TestInvocationVariants.test_python_minus_m_invocation_ok
+  %{buildroot}%{_bindir}/py.test -r s
 %if 0%{?with_python3}
 pushd %{py3dir}
 PYTHONPATH=%{buildroot}%{python3_sitelib} \
   %{buildroot}%{_bindir}/py.test-3.* -r s \
-  -k-TestInvocationVariants.test_python_minus_m_invocation_ok
+  '-k-TestInvocationVariants.test_python_minus_m_invocation_ok -test_unittest_unexpected_failure'
 popd
 %endif # with_python3
 
@@ -146,7 +145,7 @@ popd
 * Thu Oct 11 2012 Thomas Moschny <thomas.moschny at gmx.de> - 2.2.4-4
 - Add conditional for sphinx on rhel.
 - Remove rhel logic from with_python3 conditional.
-- Disable wrong test.
+- Disable failing tests for Python3.
 
 * Sat Aug 04 2012 David Malcolm <dmalcolm at redhat.com> - 2.2.4-3
 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3


More information about the scm-commits mailing list