Skip to content

Commit

Permalink
Enforce little endian when reading Numpy test data file
Browse files Browse the repository at this point in the history
  • Loading branch information
olebole committed Jul 23, 2022
1 parent 2a382d7 commit 71430d2
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 71430d2

Please sign in to comment.