From c070e234b2b63a78da78770b4d9783cd56a40ea5 Mon Sep 17 00:00:00 2001 From: Peter Teuben Date: Wed, 8 Jan 2025 13:51:14 -0500 Subject: [PATCH] explicit filenames for windows --- src/dysh/fits/tests/test_gbtfitsload.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/dysh/fits/tests/test_gbtfitsload.py b/src/dysh/fits/tests/test_gbtfitsload.py index 065eb7e9..b4511cf7 100644 --- a/src/dysh/fits/tests/test_gbtfitsload.py +++ b/src/dysh/fits/tests/test_gbtfitsload.py @@ -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