Skip to content

Commit

Permalink
explicit filenames for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jan 8, 2025
1 parent dc59aef commit c070e23
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/dysh/fits/tests/test_gbtfitsload.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,14 +680,17 @@ def test_online(self, tmp_path):
sdfits = tmp_path / "sdfits"
sdfits.mkdir()
os.environ["SDFITS_DATA"] = str(sdfits)
print("PJT1",sdfits)
o1 = sdfits / "online.fits"
print("PJT2",o1)
#
shutil.copyfile(f1, sdfits / "online.fits")
shutil.copyfile(f1, o1)
sdf = gbtfitsload.GBTOnline()
s = sdf.summary()
n = len(sdf._index)
assert n == 4
#
shutil.copyfile(f2, sdfits / "online.fits")
shutil.copyfile(f2, o1)
s = sdf.summary()
n = len(sdf._index)
assert n == 8
Expand Down

0 comments on commit c070e23

Please sign in to comment.