Skip to content

Patch out netCDF4.Dataset in test - #1077

Merged
dopplershift merged 1 commit into
Unidata:mainfrom
dopplershift:mock-dataset
Jul 28, 2026
Merged

Patch out netCDF4.Dataset in test#1077
dopplershift merged 1 commit into
Unidata:mainfrom
dopplershift:mock-dataset

Conversation

@dopplershift

Copy link
Copy Markdown
Member

Description Of Changes

netCDF4-python OPeNDAP support isn't captured by vcrpy, so this test was accessing the server on every run. This is failing a bunch lately, so patch out the call to Dataset() and just validate that it's used properly--we don't need to check OPeNDAP traffic end-to-end.

This should greatly help more PRs run cleanly, plus eliminates needless server traffic.

Checklist

netCDF4-python OPeNDAP support isn't captured by vcrpy, so this test was
accessing the server on every run. This is failing a bunch lately, so
patch out the call to Dataset() and just validate that it's used
properly--we don't need to check OPeNDAP traffic end-to-end.

@lesserwhirls lesserwhirls left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me!

@dopplershift
dopplershift merged commit 90d48f4 into Unidata:main Jul 28, 2026
36 checks passed
@dopplershift
dopplershift deleted the mock-dataset branch July 28, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix external server in test

2 participants