Skip to content

Removing old v3 unit tests - #2766

Merged
erikvansebille merged 23 commits into
Parcels-code:mainfrom
erikvansebille:removing-v3-tests
Aug 6, 2026
Merged

Removing old v3 unit tests#2766
erikvansebille merged 23 commits into
Parcels-code:mainfrom
erikvansebille:removing-v3-tests

Conversation

@erikvansebille

@erikvansebille erikvansebille commented Jul 23, 2026

Copy link
Copy Markdown
Member

Description

This PR moves some of the last relevant tests from v3 over to the new v4 test suite, and removes the other irrelevant or already-copied tests. It also updates the interpolation_regression test

The only file that remains is tests-v3/test_reprs.py; @VeckoTheGecko, can you confirm if this test file can also go?

Checklist

  • Tests added
  • This PR targets the correct branch (main for normal development, v3-support for v3 support)

AI Disclosure

None

@VeckoTheGecko VeckoTheGecko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some prelim feedback

Comment thread tests-v3/tools/test_helpers.py Outdated
Comment thread tests/test_kernel.py Outdated
Comment on lines -206 to -208
# "freeslip",
# "nearest",
# "cgrid_velocity",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainly out of curiousity: Do we have these other interpolators in v4?(/are they tested?)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! These indeed should also be tested. I worked on it this afternoon; but it's a bit more involved than I expected. Freeslip worked out of the box, but the other two gave errors, possibly to do with the issue that @willirath found in #2801

I propose merging this PR now - and then I'll open a new issue to work on the fixes after my holidays

@VeckoTheGecko VeckoTheGecko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for the most part. Some small edits (including getting CI working again - some of the changed tests raise Parcels warnings which are now interpretted as failures)

Comment thread tests/test_particle.py Outdated
@github-project-automation github-project-automation Bot moved this from Backlog to Ready in Parcels development Aug 6, 2026
@erikvansebille
erikvansebille merged commit 29c3571 into Parcels-code:main Aug 6, 2026
17 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to Done in Parcels development Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants