Mark all known test failures as xfail. These failures have been discussed with upstream.
authorOle Streicher <olebole@debian.org>
Tue, 13 Dec 2016 08:41:39 +0000 (09:41 +0100)
committerOle Streicher <olebole@debian.org>
Tue, 19 Dec 2017 10:35:47 +0000 (10:35 +0000)
Gbp-Pq: Name mark_known_failures.patch

astropy/io/ascii/tests/test_c_reader.py
astropy/tests/tests/test_socketblocker.py

index 83144e01aea83524e321c4c849a670ebf09d63c9..e49ef2e348d12c996e18ba6520cbd6711e7e88b3 100644 (file)
@@ -1055,7 +1055,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
@@ -1099,7 +1101,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
index f1b1fdd1c96bc1e1625431644b2bf172c086c94d..933277a4b0c39ca84c21d6bce823276db8f19504 100644 (file)
@@ -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