astropy / astropy/specutils

change analysis test to use the simulated_spectra fixture

Open
#340 1 comment 0 reactions 0 assignees View on GitHub
analysis testing
Dominant language
Python
Stars
204
Forks
134
Avg merge
12h 55m
Merged PRs (30d)
1

Description

sort of a "housekeeping" item, but it would be nice to try to get the analysis tests as consistent as some of the others in using fixtures consistently. That is, the analysis tests currently make their own test datasets instead of using shared spectra from the spectral_examples.py module

Contributor guide

Open the contributing guide

Research direction

Locate the analysis tests and the shared spectral_examples.py module, then inspect the simulated_spectra fixture and how the tests currently construct datasets. Update the analysis tests to use that shared fixture consistently, and run the relevant analysis test suite to confirm it still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.