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

Move tests from TraP #80

Merged
merged 5 commits into from
Oct 23, 2024
Merged

Move tests from TraP #80

merged 5 commits into from
Oct 23, 2024

Conversation

suvayu
Copy link
Collaborator

@suvayu suvayu commented Oct 23, 2024

  • Add missing tests from TraP
  • Mark mysteriously failing tests as xfail
  • Fix round trip pickling

NOTE: include necessary binary data files

Fixes: #65
Don't know why these tests test for failure.  IIUC, they should pass.
The following tests from test_pickle.py were failing:
- aartfaac_casatable
- fits
- fitsblob
- lofar_casatable

This is because the `__getattr__` implementation was incorrect.
Python expects it to raise AttributeError when no attribute is found;
see: https://docs.python.org/3/reference/datamodel.html#object.__getattr__
@suvayu suvayu merged commit 4e8a705 into master Oct 23, 2024
4 of 6 checks passed
@suvayu suvayu deleted the move-tests branch October 23, 2024 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant