Skip to content

Commit

Permalink
Merge pull request #336 from olebole/arch-independent-test
Browse files Browse the repository at this point in the history
Enforce little endian when reading Numpy test data file
  • Loading branch information
pllim authored Jul 24, 2022
2 parents 2a382d7 + 71430d2 commit 3a80de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synphot/tests/test_observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def test_countrate_neg_leak():
package='synphot.tests'))
binset = np.fromfile(get_pkg_data_filename(
os.path.join('data', 'stis_fuv_f25ndq2_binset.bin'),
package='synphot.tests'))
package='synphot.tests'), dtype='<f8')
obs = Observation(sp, bp, binset=binset)
area = 45238.93416 # HST cm^2
wrange = [1109.22, 12000.0] # Angstrom
Expand Down

0 comments on commit 3a80de6

Please # to comment.