Skip to content

Remove a redundant test of reading L2i files - #237

Merged
namurphy merged 1 commit into
PlasmaPy:mainfrom
namurphy:remove-redundant-load-l2-test
Dec 1, 2026
Merged

namurphy merged 1 commit into
PlasmaPy:mainfrom
namurphy:remove-redundant-load-l2-test

Conversation

@namurphy

@namurphy namurphy commented Dec 1, 2026

Copy link
Copy Markdown
Member

Description

This PR removes test_load_l2_raw_values, and moves its check of the type of Epoch into test_load_l2_reads_production_file.

Motivation

Other than the type of Epoch, test_load_l2_reads_production_file already compares every variable with its raw values and fill value.

Details

  • The check of the type is kept because comparing values would not fail if Epoch were read as float64. With that change to the code, the remaining test fails.
  • nox -s tests-3.14 and the pre-commit hooks passed.

🤖 Generated with Claude Code

Other than the type of `Epoch`, `test_load_l2_reads_production_file` already compares every variable with its raw values and fill value.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@namurphy
namurphy merged commit 1459f72 into PlasmaPy:main Dec 1, 2026
15 checks passed
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