Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 8, 2025
1 parent ef251da commit 0b47ad9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dysh/fits/tests/test_gbtfitsload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
#
Expand All @@ -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)
Expand Down

0 comments on commit 0b47ad9

Please sign in to comment.