Skip to content

Refactor parameter data structure test - #5519

Open
charliesheh wants to merge 1 commit into
pybamm-team:mainfrom
charliesheh:refactor-pytest-fixtures
Open

Refactor parameter data structure test#5519
charliesheh wants to merge 1 commit into
pybamm-team:mainfrom
charliesheh:refactor-pytest-fixtures

Conversation

@charliesheh

Copy link
Copy Markdown

Summary
Refactor repeated assertions in test_process_parameter_data.py to make the processed parameter data structure test more concise and maintainable.

Changes

  • Unpacked processed coordinate/value data before assertions
  • Replaced repeated coordinate array checks with an all(...) assertion
  • Preserved existing test behavior

Testing

  • python -m pytest tests/unit/test_parameters/test_process_parameter_data.py

Related to #4502

@charliesheh
charliesheh requested a review from a team as a code owner May 16, 2026 22:23
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