projects
/
python-astropy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ffa638
)
Make TFORMx check more flexible The maximal column length in cfitsio changed between...
author
Ole Streicher
<olebole@debian.org>
Tue, 13 Dec 2016 08:41:39 +0000
(09:41 +0100)
committer
Ole Streicher
<olebole@debian.org>
Wed, 25 Jan 2017 15:17:26 +0000
(15:17 +0000)
Gbp-Pq: Name fix_for_cfitsio_3380.patch
astropy/io/fits/tests/test_image.py
patch
|
blob
|
history
diff --git
a/astropy/io/fits/tests/test_image.py
b/astropy/io/fits/tests/test_image.py
index a8551dd17afef772516a1021bd6228f1110f4b12..17af9a001c21cc00cb31d7a6474a2358d5e5e400 100644
(file)
--- a/
astropy/io/fits/tests/test_image.py
+++ b/
astropy/io/fits/tests/test_image.py
@@
-1107,7
+1107,7
@@
class TestCompressedImage(FitsTestCase):
hdu.writeto(self.temp('test.fits'))
with fits.open(self.temp('test.fits')) as hdul:
- assert
(hdul['SCI'].data == cube).all()
+ assert
np.abs(hdul['SCI'].data - cube).max() < 1./15.
def test_subtractive_dither_seed(self):
"""