Skip to content

tests for util.new_axis added pending bugfix#2130

Closed
corinnebosley wants to merge 1 commit intoSciTools:masterfrom
corinnebosley:util_new_axis_bugfix
Closed

tests for util.new_axis added pending bugfix#2130
corinnebosley wants to merge 1 commit intoSciTools:masterfrom
corinnebosley:util_new_axis_bugfix

Conversation

@corinnebosley
Copy link
Member

iris.util.new_axis() does not work for a MaskedConstant. This is now more of an issue since the change to make iris.util.new_axis() handle lazy data, because it now turns any single-point masked array into a MaskedConstant and then doesn't add a new axis to the mask, only to the data.

For now I have only written tests for this PR; I have not yet added the fix because I don't know what it is.

@corinnebosley
Copy link
Member Author

Have found tests for this function in alternate location, so have relocated them and added them to PR#2143: #2143

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