Commit fe0e8887 authored by Philipp Arras's avatar Philipp Arras
Browse files

Use pytest.skip

parent 5a916e81
Pipeline #78450 passed with stages
in 16 minutes and 33 seconds
...@@ -67,7 +67,7 @@ def explicit_gridder(uvw, freq, ms, wgt, nxdirty, nydirty, xpixsize, ypixsize, ...@@ -67,7 +67,7 @@ def explicit_gridder(uvw, freq, ms, wgt, nxdirty, nydirty, xpixsize, ypixsize,
def test_adjointness_ms2dirty(nxdirty, nydirty, ofactor, nrow, nchan, epsilon, def test_adjointness_ms2dirty(nxdirty, nydirty, ofactor, nrow, nchan, epsilon,
singleprec, wstacking, use_wgt, nthreads): singleprec, wstacking, use_wgt, nthreads):
if singleprec and epsilon < 5e-5: if singleprec and epsilon < 5e-5:
return pytest.skip()
rng = np.random.default_rng(42) rng = np.random.default_rng(42)
pixsizex = np.pi/180/60/nxdirty*0.2398 pixsizex = np.pi/180/60/nxdirty*0.2398
pixsizey = np.pi/180/60/nxdirty pixsizey = np.pi/180/60/nxdirty
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment