Skip to content

Update doctest fixtures for consistency with xarray v2024.3.0 #178

@thabbott

Description

@thabbott

Description

Current status of doctests in local testing:

  • Using data copied gs://contrails-301217-unit-test/doc-test-cache/ fixture:
    • pass on xarray v2024.3.0
    • fail on xarray v2024.2.0
  • Using data cached locally with xarray v2024.3.0
    • fail on xarray v2024.3.0
    • fail no xarray v2024.2.0
  • Using data cached locally with xarray v2024.2.0
    • pass on xarray v2024.3.0
    • pass on xarray v2024.2.0

This likely indicates that doctest values are correct when running tests with a recent version of xarray (v2024.3.0 or newer) on a dirty doctest cache created using an older version of xarray (v2024.2.0 or older).

For details about xarray v2024.3.0 changes, see #171 (comment).

Proposed solution: update doctest fixture with values cached using the current xarray version.

Details

  • Version: 0.50.2
  • OS: ubuntu

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions