Github user MJJoyce commented on the pull request:
https://github.com/apache/climate/pull/145#issuecomment-70754572
```
+ nosetests
.....................FFFFF.....................................................................................
======================================================================
FAIL: test_bad_values_shape (ocw.tests.test_dataset.TestInvalidDatasetInit)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/ocw/tests/test_dataset.py", line
78, in test_bad_values_shape
Dataset(self.lat, self.lon, self.time, self.value, 'prec')
AssertionError: ValueError not raised
======================================================================
FAIL: test_lons_values_incorrectly_gridded
(ocw.tests.test_dataset.TestInvalidDatasetInit)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/ocw/tests/test_dataset.py", line
99, in test_lons_values_incorrectly_gridded
np.testing.assert_array_equal(ds.lons, np.arange(-180, 180))
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/OCWVE/lib/python2.7/site-packages/numpy/testing/utils.py",
line 718, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/OCWVE/lib/python2.7/site-packages/numpy/testing/utils.py",
line 644, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 100.0%)
x: array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,...
y: array([-180, -179, -178, -177, -176, -175, -174, -173, -172, -171, -170,
-169, -168, -167, -166, -165, -164, -163, -162, -161, -160, -159,
-158, -157, -156, -155, -154, -153, -152, -151, -150, -149, -148,...
======================================================================
FAIL: test_reversed_lats (ocw.tests.test_dataset.TestInvalidDatasetInit)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/ocw/tests/test_dataset.py", line
103, in test_reversed_lats
np.testing.assert_array_equal(ds.lats, self.lat)
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/OCWVE/lib/python2.7/site-packages/numpy/testing/utils.py",
line 718, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/OCWVE/lib/python2.7/site-packages/numpy/testing/utils.py",
line 644, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(mismatch 80.0%)
x: array([18, 16, 14, 12, 10])
y: array([10, 12, 14, 16, 18])
======================================================================
FAIL: test_values_given_in_wrong_order
(ocw.tests.test_dataset.TestInvalidDatasetInit)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/ocw/tests/test_dataset.py", line
89, in test_values_given_in_wrong_order
Dataset(self.lat, self.lon, self.time, self.values_in_wrong_order)
AssertionError: ValueError not raised
======================================================================
FAIL: test_values_shape_mismatch
(ocw.tests.test_dataset.TestInvalidDatasetInit)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/var/lib/jenkins/jobs/OCWPRBuild/workspace/ocw/tests/test_dataset.py", line
85, in test_values_shape_mismatch
Dataset(self.lat, self.lon, self.time, self.value, 'prec')
AssertionError: ValueError not raised
----------------------------------------------------------------------
Ran 111 tests in 45.169s
FAILED (failures=5)
Build step 'Execute shell' marked build as failure
Finished: FAILURE
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---