From 076e4554065877cf26949a78f82fe22335933e40 Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Tue, 13 Dec 2016 09:41:39 +0100 Subject: [PATCH] Mark all known test failures as xfail. These failures have been discussed with upstream. Gbp-Pq: Name mark_known_failures.patch --- astropy/io/ascii/tests/test_c_reader.py | 8 ++++++-- astropy/tests/tests/test_socketblocker.py | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/astropy/io/ascii/tests/test_c_reader.py b/astropy/io/ascii/tests/test_c_reader.py index 7bc8618..ceb2ddd 100644 --- a/astropy/io/ascii/tests/test_c_reader.py +++ b/astropy/io/ascii/tests/test_c_reader.py @@ -1057,7 +1057,9 @@ def test_int_out_of_range(parallel): assert_table_equal(table, expected) -@pytest.mark.parametrize("parallel", [True, False]) +@pytest.mark.parametrize("parallel", [ + pytest.param(True, marks=pytest.mark.xfail(reason="see https://github.com/astropy/astropy/issues/5693")), + False]) def test_fortran_reader(parallel): """ Make sure that ascii.read() can read Fortran-style exponential notation @@ -1101,7 +1103,9 @@ def test_fortran_reader(parallel): assert_table_equal(table, expected) -@pytest.mark.parametrize("parallel", [True, False]) +@pytest.mark.parametrize("parallel", [ + pytest.param(True, marks=pytest.mark.xfail(reason="see https://github.com/astropy/astropy/issues/5693")), + False]) def test_fortran_invalid_exp(parallel): """ Test Fortran-style exponential notation in the fast_reader with invalid diff --git a/astropy/tests/tests/test_socketblocker.py b/astropy/tests/tests/test_socketblocker.py index 18524b6..fff462d 100644 --- a/astropy/tests/tests/test_socketblocker.py +++ b/astropy/tests/tests/test_socketblocker.py @@ -69,6 +69,8 @@ def _square(x): @pytest.mark.skipif('not PY3_4 or sys.platform == "win32" or sys.platform.startswith("gnu0")') +# see https://github.com/astropy/astropy/issues/4193 +@pytest.mark.skipif(True, reason="Blocks on Debian CI test") def test_multiprocessing_forkserver(): """ Test that using multiprocessing with forkserver works. Perhaps -- 2.30.2