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

DM-25826: Explicitly cast alert data to a list in tests #93

Merged
merged 2 commits into from Jul 10, 2020

Conversation

spenczar
Copy link
Contributor

@spenczar spenczar commented Jul 9, 2020

In lsst/alert_packet#21, we would like to change lsst.alert.packet's behavior to stream alerts out from disk rather than loading them entirely into memory, since alert files might be very large. Technically, this breaks no APIs, since the documented return value is an "iterable."

Making that change requires this one: change the test code so that it loads data into a list explicitly.

In lsst/alert_packet#21, we would like to
change lsst.alert.packet's behavior to stream alerts out from disk
rather than loading them entirely into memory, since alert files might
be very large. Technically, this breaks no APIs, since the documented
return value is an "iterable."

Making that change requires this one: change the test code so that it
loads data into a list explicitly.
@spenczar spenczar requested a review from jdswinbank July 9, 2020 16:23
@spenczar spenczar changed the title Explicitly cast alert data to a list in tests DM-25826: Explicitly cast alert data to a list in tests Jul 9, 2020
@ebellm ebellm merged commit 7fd97fe into master Jul 10, 2020
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.

None yet

3 participants