From 1761b713f913dfa5d09736824c55e2afd9f46aa0 Mon Sep 17 00:00:00 2001 From: Drew Leonard Date: Tue, 11 Feb 2025 14:06:51 +0000 Subject: [PATCH] Don't need these apparently --- dkist/dataset/tests/test_tiled_dataset.py | 9 +++------ dkist/tests/test_benchmarks.py | 6 ++---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/dkist/dataset/tests/test_tiled_dataset.py b/dkist/dataset/tests/test_tiled_dataset.py index fa477990..f5eaecc8 100644 --- a/dkist/dataset/tests/test_tiled_dataset.py +++ b/dkist/dataset/tests/test_tiled_dataset.py @@ -80,8 +80,7 @@ def test_tiled_dataset_from_components(dataset): @pytest.mark.remote_data @pytest.mark.parametrize("share_zscale", [True, False], ids=["share_zscale", "indpendent_zscale"]) def test_tileddataset_plot(share_zscale): - from dkist.data.sample import VBI_AJQWW, download_all_sample_data - download_all_sample_data() + from dkist.data.sample import VBI_AJQWW ori_ds = load_dataset(VBI_AJQWW) newtiles = [] @@ -108,8 +107,7 @@ def test_tileddataset_plot(share_zscale): def test_tileddataset_plot_limit_swapping(swap_tile_limits): # Also test that row/column sizes are correct - from dkist.data.sample import VBI_AJQWW, download_all_sample_data - download_all_sample_data() + from dkist.data.sample import VBI_AJQWW ori_ds = load_dataset(VBI_AJQWW) # Swap WCS to make the `swap_tile_limits` option more natural @@ -152,8 +150,7 @@ def test_tileddataset_plot_limit_swapping(swap_tile_limits): @pytest.mark.remote_data def test_tileddataset_plot_non2d_sliceindex(): - from dkist.data.sample import VBI_AJQWW, download_all_sample_data - download_all_sample_data() + from dkist.data.sample import VBI_AJQWW ds = load_dataset(VBI_AJQWW) newtiles = [] diff --git a/dkist/tests/test_benchmarks.py b/dkist/tests/test_benchmarks.py index c1ca78bb..62375dc7 100644 --- a/dkist/tests/test_benchmarks.py +++ b/dkist/tests/test_benchmarks.py @@ -49,8 +49,7 @@ def test_dataset_compute_data_full_files(benchmark): because it doesn't support that. This test therefore only assesses the performance of the compute step. """ - from dkist.data.sample import VISP_BKPLX, download_all_sample_data - download_all_sample_data() + from dkist.data.sample import VISP_BKPLX ds = load_dataset(VISP_BKPLX)[0, :15] benchmark(ds.data.compute) @@ -60,8 +59,7 @@ def test_dataset_compute_data_full_files(benchmark): @pytest.mark.benchmark @pytest.mark.remote_data def test_dataset_compute_data_partial_files(benchmark): - from dkist.data.sample import VISP_BKPLX, download_all_sample_data - download_all_sample_data() + from dkist.data.sample import VISP_BKPLX ds = load_dataset(VISP_BKPLX)[0, :15, :100, :100] benchmark(ds.data.compute)