[Debian-astro-commits] [python-astropy] 01/02: Temporarily re-enable almost all test to see if they are fixed

Ole Streicher olebole at moszumanska.debian.org
Tue Jul 4 19:27:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch master
in repository python-astropy.

commit bfa85a1bc4c234bf0e5da7b404957fd611ffe512
Author: Ole Streicher <olebole at debian.org>
Date:   Tue Jul 4 20:37:18 2017 +0200

    Temporarily re-enable almost all test to see if they are fixed
---
 debian/changelog                         |  1 +
 debian/patches/mark_known_failures.patch | 12 ++++++------
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bf870b7..4e3706d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ python-astropy (2.0~rc1-1) experimental; urgency=low
 
   * New upstream release candidate 2.0~rc1
   * Rediff patches
+  * Temporarily re-enable almost all test to see if they are fixed
 
  -- Ole Streicher <olebole at debian.org>  Wed, 28 Jun 2017 08:38:02 +0200
 
diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index c96c91f..3fea299 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -20,7 +20,7 @@ index 632db07..7e92aab 100644
          self.hub.stop()
  
 +    # see https://github.com/astropy/astropy/issues/5460
-+    @pytest.mark.skipif(True, reason="Setup fails due to SSL problems")
++    #@pytest.mark.skipif(True, reason="Setup fails due to SSL problems")
      def test_main(self):
  
          self.client1_id = self.client1.get_public_id()
@@ -34,7 +34,7 @@ index 0b46014..b14afba 100644
  
 -
 +# see https://github.com/astropy/astropy/issues/4336
-+ at pytest.mark.xfail()
++#@pytest.mark.xfail()
  def test_ignore_warnings():
      t = table.Table([[np.nan, np.nan]])
      with warnings.catch_warnings(record=True) as warns:
@@ -55,14 +55,14 @@ diff --git a/astropy/tests/tests/test_socketblocker.py b/astropy/tests/tests/tes
 index 18524b6..bcc5aea 100644
 --- a/astropy/tests/tests/test_socketblocker.py
 +++ b/astropy/tests/tests/test_socketblocker.py
-@@ -67,8 +67,8 @@ PY3_4 = sys.version_info[:2] >= (3, 4)
+@@ -67,8 +67,9 @@ PY3_4 = sys.version_info[:2] >= (3, 4)
  def _square(x):
      return x ** 2
  
 -
-- at pytest.mark.skipif('not PY3_4 or sys.platform == "win32" or sys.platform.startswith("gnu0")')
+ @pytest.mark.skipif('not PY3_4 or sys.platform == "win32" or sys.platform.startswith("gnu0")')
 +# see https://github.com/astropy/astropy/issues/4193
-+ at pytest.mark.skipif(True, reason="Blocks on Debian CI test")
++#@pytest.mark.skipif(True, reason="Blocks on Debian CI test")
  def test_multiprocessing_forkserver():
      """
      Test that using multiprocessing with forkserver works.  Perhaps
@@ -84,7 +84,7 @@ index 53436dd..4c710e7 100644
          assert string_world5 == six.u('267.652 -28\xb046\'23" (world, overlay 3)')
  
 +    # See https://github.com/astropy/astropy/issues/5601
-+    @pytest.mark.xfail()
++    #@pytest.mark.xfail()
      def test_cube_coords(self, tmpdir):
          wcs = WCS(self.cube_header)
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the Debian-astro-commits mailing list