Skip to content

Commit

Permalink
Hack to get passing on py27
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-neal committed Nov 5, 2017
1 parent 23d0e3c commit 37180d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spectrum_overload/test/test_Spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,8 @@ def test_normalization_method_match_degree(method, degree):
y = np.arange(1000)
s = Spectrum(xaxis=x, flux=y)
named_method = s.normalize(method=method)
named_method.remove_nans() # hack for geting to run on < py34
poly_deg = s.normalize(method='poly', degree=degree)

poly_deg.remove_nans() # hack for getting to pass on < py 34
assert np.allclose(named_method.flux, poly_deg.flux)

0 comments on commit 37180d7

Please sign in to comment.