Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows cannot run the GBTOnline() test #447

Open
teuben opened this issue Jan 10, 2025 · 0 comments
Open

windows cannot run the GBTOnline() test #447

teuben opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working low priority

Comments

@teuben
Copy link
Collaborator

teuben commented Jan 10, 2025

Describe the bug
Under Windows it seems the GBTOnline() is not working correctly. I emulate a bigger file by copying a bigger file onto the first file, and thus the sdf should see more scans....

Arguably we won't see GBTOnline() being used on windows , but it's useful to figure out what windows is doing here

How to Reproduce
In test_online() the 2nd copyfile fails on windows

       shutil.copyfile(f1, o1)
        sdf = gbtfitsload.GBTOnline()
        s = sdf.summary()
        n = len(sdf._index)
        assert n == 4
       shutil.copyfile(f2, o1)

Environment

  • Dysh version: 0.4.0pre
  • Python version: 3.11
  • OS: windows
@teuben teuben added the bug Something isn't working label Jan 10, 2025
@teuben teuben mentioned this issue Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority
Projects
None yet
Development

No branches or pull requests

2 participants