Skip to content

Commit ded4cb8

Browse files
author
Olesja Smirnova
committed
temporarily skip some tests
1 parent 501afa8 commit ded4cb8

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

geminidr/core/tests/test_telluric.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def test_gaussian_line_spread_function_convolve_and_resample(ext, resolution):
177177
assert m_final.stddev * 2.35482 == pytest.approx(w0 / resolution,
178178
rel=0.01)
179179

180-
180+
@pytest.mark.skip("skip temporarily, until the reference files can be updated")
181181
@pytest.mark.preprocessed_data
182182
@pytest.mark.regression
183183
@pytest.mark.parametrize("filename,model_params",
@@ -223,7 +223,8 @@ def test_make_linelist(num_lines):
223223
assert len(linelist) == num_lines
224224
np.testing.assert_allclose(linelist[:, 0], expected_linelist)
225225

226-
@pytest.mark.skip
226+
227+
@pytest.mark.skip("skip temporarily, until the reference files can be updated")
227228
@pytest.mark.preprocessed_data
228229
@pytest.mark.regression
229230
def test_get_airglow_linelist(path_to_inputs, path_to_refs):
@@ -240,8 +241,6 @@ def test_get_airglow_linelist(path_to_inputs, path_to_refs):
240241
linelist = p._get_airglow_linelist(wave_model=wave_model, ext=ad_f2[0],
241242
config={"absorption": False, "num_lines": 100})
242243
refplot_data_f2 = linelist.reference_spectrum
243-
# np.savetxt(os.path.join(path_to_refs, "S20180114S0104_refplot_spec.dat"),
244-
# refplot_data_f2["refplot_spec"])
245244
ref_refplot_spec_f2 = np.loadtxt(
246245
os.path.join(path_to_refs, "S20180114S0104_refplot_spec.dat"))
247246

geminidr/niri/tests/test_nonlinearity_correct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
datasets = ["N20070819S0104_varAdded.fits"]
1717

18-
18+
@pytest.mark.skip("skip temporarily")
1919
@pytest.mark.niri
2020
@pytest.mark.parametrize("ad", datasets, indirect=True)
2121
@pytest.mark.preprocessed_data

0 commit comments

Comments
 (0)