From 0b47ad9227ea953778b93d12772d7b6a4446f803 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:38:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/dysh/fits/tests/test_gbtfitsload.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dysh/fits/tests/test_gbtfitsload.py b/src/dysh/fits/tests/test_gbtfitsload.py index 6144e7d4..2ec10e34 100644 --- a/src/dysh/fits/tests/test_gbtfitsload.py +++ b/src/dysh/fits/tests/test_gbtfitsload.py @@ -673,7 +673,7 @@ def test_add_history_comments(self): assert "ran the test for history and comments" in sdf.history assert any("Project ID: AGBT18B_354_03" in substr for substr in sb.history) - def test_online(self,tmp_path): + def test_online(self, tmp_path): f1 = util.get_project_testdata() / "TGBT21A_501_11/TGBT21A_501_11.raw.vegas.fits" f2 = util.get_project_testdata() / "TGBT21A_501_11/TGBT21A_501_11_2.raw.vegas.fits" # @@ -687,12 +687,11 @@ def test_online(self,tmp_path): n = len(sdf._index) assert n == 4 # - shutil.copyfile(f2, f"{sdfits}/online.fits") + shutil.copyfile(f2, f"{sdfits}/online.fits") s = sdf.summary() n = len(sdf._index) assert n == 8 - def test_write_read_flags(self, tmp_path): fits_path = util.get_project_testdata() / "AGBT18B_354_03/AGBT18B_354_03.raw.vegas" sdf = gbtfitsload.GBTFITSLoad(fits_path)