From 1ea39c0a8d3d116271fac3299c965d2c4b10438c Mon Sep 17 00:00:00 2001 From: Ansgar Wehrhahn <31626864+AWehrhahn@users.noreply.github.com> Date: Tue, 8 Jun 2021 15:45:50 +0200 Subject: [PATCH] fix test --- test/test_cython.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_cython.py b/test/test_cython.py index 4811966..7db24a2 100644 --- a/test/test_cython.py +++ b/test/test_cython.py @@ -167,6 +167,8 @@ def test_radiative_transfer(datadir): ] ) abund[np.isnan(abund)] = -99 + abund_data = abund + abund = lambda *_, **__: abund_data atmo = { "teff": 5777.0, @@ -603,7 +605,7 @@ def test_radiative_transfer(datadir): dll.SetLibraryPath(datadir) dll.InputLineList(linelist) dll.InputModel(5770, 4.44, 0.7, atmo) - dll.InputAbund(lambda *_, **__: abund) + dll.InputAbund(abund) dll.InputWaveRange(6436, 6442) dll.SetVWscale(1.0) dll.SetH2broad(True)