Skip to content

Boolean data compare - additional fixes#3435

Merged
lbdreyer merged 5 commits into
SciTools:masterfrom
pp-mo:cp_boolean_data_compare_plus
Oct 2, 2019
Merged

Boolean data compare - additional fixes#3435
lbdreyer merged 5 commits into
SciTools:masterfrom
pp-mo:cp_boolean_data_compare_plus

Conversation

@pp-mo

@pp-mo pp-mo commented Oct 2, 2019

Copy link
Copy Markdown
Member

Resolve some problems resulting from #3431 ...

  • whatsnew entry moved
  • needs dask>=1.2 (see Daskversionfix 1v2 #3433)
  • tests for new data-equality behaviour
  • whats new for behaviour change

@pp-mo pp-mo added this to the v2.3.0 milestone Oct 2, 2019
@pp-mo pp-mo changed the title Cp boolean data compare plus Boolean data compare - additional fixes Oct 2, 2019
Comment thread lib/iris/tests/unit/cube/test_Cube.py Outdated
Comment on lines +1910 to +1914
def _check_data_eq(self, data1, data2):
cube1 = Cube(data1)
cube2 = Cube(data2)
self.assertEqual(cube1 == cube2,
np.all(data1 == data2))

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.

I can't see where this is being used?

@lbdreyer

lbdreyer commented Oct 2, 2019

Copy link
Copy Markdown
Member

Looks good! Thanks @pp-mo
Once travis is happy I will merge

@lbdreyer lbdreyer merged commit 713cf00 into SciTools:master Oct 2, 2019
@pp-mo pp-mo deleted the cp_boolean_data_compare_plus branch February 17, 2021 14:49
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.

2 participants