[Debian-astro-commits] [python-astropy] 01/02: Remove xfail for issues that are closed

Ole Streicher olebole at moszumanska.debian.org
Tue Jun 14 20:00:58 UTC 2016


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

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

commit 11dfe018c747e6591a7e84b9b4ce0cef3751ddbe
Author: Ole Streicher <olebole at debian.org>
Date:   Tue Jun 14 21:31:50 2016 +0200

    Remove xfail for issues that are closed
---
 debian/patches/mark_known_failures.patch | 83 --------------------------------
 1 file changed, 83 deletions(-)

diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index 6cb7ba2..2d5bb0d 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -1,35 +1,6 @@
 Author: Ole Streicher <olebole at debian.org>
 Description: Mark all known test failures as xfail.
  These failures have been discussed with upstream.
---- a/astropy/io/fits/tests/test_connect.py
-+++ b/astropy/io/fits/tests/test_connect.py
-@@ -134,6 +134,8 @@
-         # while reading is to check whether col.null is present. For float columns, col.null
-         # is not initialized
- 
-+# see https://github.com/astropy/astropy/issues/3415
-+    @pytest.mark.xfail()
-     def test_read_from_fileobj(self, tmpdir):
-         filename = str(tmpdir.join('test_read_from_fileobj.fits'))
-         hdu = BinTableHDU(self.data)
-@@ -173,6 +175,8 @@
-     def setup_method(self, method):
-         warnings.filterwarnings('always')
- 
-+# see https://github.com/astropy/astropy/issues/3415
-+    @pytest.mark.xfail()
-     def test_read(self, tmpdir):
-         filename = str(tmpdir.join('test_read.fits'))
-         self.hdus.writeto(filename)
-@@ -190,6 +194,8 @@
-             Table.read(filename, hdu=0)
-         assert exc.value.args[0] == 'No table found in hdu=0'
- 
-+# see https://github.com/astropy/astropy/issues/3415
-+    @pytest.mark.xfail()
-     @pytest.mark.parametrize('hdu', [1, 'first'])
-     def test_read_with_hdu_1(self, tmpdir, hdu):
-         filename = str(tmpdir.join('test_read_with_hdu_1.fits'))
 --- a/astropy/wcs/wcs.py
 +++ b/astropy/wcs/wcs.py
 @@ -85,6 +85,8 @@
@@ -54,29 +25,6 @@ Description: Mark all known test failures as xfail.
  def test_multiprocessing_forkserver():
      """
      Test that using multiprocessing with forkserver works.  Perhaps
---- a/astropy/coordinates/tests/test_api_ape5.py
-+++ b/astropy/coordinates/tests/test_api_ape5.py
-@@ -319,7 +319,8 @@
-     # coordinate object, and one that returns a cartesian matrix but does *not*
-     # require `newobj` or `fk5frame` - this allows optimization of the transform.
- 
--
-+# Temporary mark until scipy/numpy is fully on 3.5
-+ at pytest.mark.xfail()
- def test_highlevel_api():
-     J2001 = time.Time('J2001', scale='utc')
- 
---- a/astropy/visualization/tests/test_histogram.py
-+++ b/astropy/visualization/tests/test_histogram.py
-@@ -50,6 +50,8 @@
-     assert patches2[0].axes is ax[1]
- 
- 
-+# see https://github.com/astropy/astropy/issues/4329
-+ at pytest.mark.xfail()
- @pytest.mark.skipif('not HAS_PLT')
- def test_hist_autobin(rseed=0):
-     rng = np.random.RandomState(rseed)
 --- a/astropy/table/tests/test_info.py
 +++ b/astropy/table/tests/test_info.py
 @@ -8,6 +8,7 @@
@@ -97,34 +45,3 @@ Description: Mark all known test failures as xfail.
  def test_ignore_warnings():
      t = table.Table([[np.nan, np.nan]])
      with warnings.catch_warnings(record=True) as warns:
---- a/astropy/coordinates/tests/test_angles.py
-+++ b/astropy/coordinates/tests/test_angles.py
-@@ -610,6 +610,8 @@
-     lat[0] = Angle(lon)
-     assert lat.value[0] == 10.0
- 
-+# see https://github.com/astropy/astropy/issues/4548
-+ at pytest.mark.xfail()
- def test_longitude():
-     # Default wrapping at 360d with an array input
-     lon = Longitude(['370d', '88d'])
---- a/astropy/coordinates/tests/test_representation.py
-+++ b/astropy/coordinates/tests/test_representation.py
-@@ -325,6 +325,8 @@
-         with pytest.raises(TypeError) as exc:
-             s = PhysicsSphericalRepresentation()
- 
-+# see https://github.com/astropy/astropy/issues/4548
-+    @pytest.mark.xfail()
-     def test_init_quantity(self):
- 
-         s3 = PhysicsSphericalRepresentation(phi=8 * u.hourangle, theta=5 * u.deg, r=10 * u.kpc)
-@@ -336,6 +338,8 @@
-         assert isinstance(s3.theta, Angle)
-         assert isinstance(s3.r, Distance)
- 
-+# see https://github.com/astropy/astropy/issues/4548
-+    @pytest.mark.xfail()
-     def test_init_phitheta(self):
- 
-         s2 = PhysicsSphericalRepresentation(Angle(8, u.hour),

-- 
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