Commit ce41ee5 1 parent 3ba1394 commit ce41ee5 Copy full SHA for ce41ee5
File tree 1 file changed +7
-2
lines changed
lib/iris/tests/unit/data_manager
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -110,12 +110,17 @@ def test_lazy_with_lazy__dtype_failure(self):
110
110
dm2 = DataManager (as_lazy_data (self .real_array ).astype (int ))
111
111
self .assertFalse (dm1 == dm2 )
112
112
113
- def test_none (self ):
113
+ def test_dataless (self ):
114
114
dm1 = DataManager (data = None , shape = (1 ,))
115
115
dm2 = DataManager (data = None , shape = (1 ,))
116
116
self .assertTrue (dm1 == dm2 )
117
117
118
- def test_none_with_real (self ):
118
+ def test_dataless_failure (self ):
119
+ dm1 = DataManager (data = None , shape = (1 ,))
120
+ dm2 = DataManager (data = None , shape = (2 ,))
121
+ self .assertTrue (dm1 != dm2 )
122
+
123
+ def test_dataless_with_real (self ):
119
124
dm1 = DataManager (data = None , shape = (1 ,))
120
125
dm2 = DataManager (self .real_array )
121
126
self .assertFalse (dm1 == dm2 )
You can’t perform that action at this time.
0 commit comments