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>
Mon, 11 Sep 2017 18:39:28 +0000 (19:39 +0100)
Gbp-Pq: Name mark_known_failures.patch

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

index 7bc8618b6fcb2576a58f777549a164e8aa8968ec..ceb2dddc4ef75925b675f849ff7ceb7476a7fd83 100644 (file)
@@ -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
index 18524b6c6474a4cd4e41b1f2cae64b76635dac73..fff462d0fe66f87a1838457b5ca170563d89f43b 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