File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 29
29
pytestmark = pytest .mark .parallel (2 )
30
30
31
31
32
- @pytest .fixture ()
32
+ @pytest .fixture
33
33
def goto_tempdir (tmpdir ):
34
34
# Run test within temporary directory.
35
35
newpath = str (tmpdir )
@@ -287,13 +287,13 @@ def test_run_gleam_uvsim(spectral_type):
287
287
if pyuvsim .mpi .rank == 0 :
288
288
assert uv_out .telescope_name == "Triangle"
289
289
290
- file_name = f"gleam_triangle_{ spectral_type } .uvh5"
291
- uv_in = UVData .from_file (os .path .join (SIM_DATA_PATH , file_name ))
292
- uv_in .use_future_array_shapes ()
293
- # This just tests that we get the same answer as an earlier run, not that
294
- # the data are correct (that's covered in other tests)
295
- uv_out .history = uv_in .history
296
- assert uv_in == uv_out
290
+ file_name = f"gleam_triangle_{ spectral_type } .uvh5"
291
+ uv_in = UVData .from_file (os .path .join (SIM_DATA_PATH , file_name ))
292
+ uv_in .use_future_array_shapes ()
293
+ # This just tests that we get the same answer as an earlier run, not that
294
+ # the data are correct (that's covered in other tests)
295
+ uv_out .history = uv_in .history
296
+ assert uv_in == uv_out
297
297
298
298
299
299
@pytest .mark .filterwarnings ("ignore:The reference_frequency is aliased as `frequency`" )
You can’t perform that action at this time.
0 commit comments