You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by go...@apache.org on 2013/08/26 20:45:19 UTC
svn commit: r1517636 - /incubator/climate/trunk/ocw/tests/test_dataset.py
Author: goodale
Date: Mon Aug 26 18:45:18 2013
New Revision: 1517636
URL: http://svn.apache.org/r1517636
Log:
CLIMATE-274 Improve the Exceptions thrown by Dataset class
Minor fix. Had to uncomment a line in my unit-test.
Modified:
incubator/climate/trunk/ocw/tests/test_dataset.py
Modified: incubator/climate/trunk/ocw/tests/test_dataset.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/tests/test_dataset.py?rev=1517636&r1=1517635&r2=1517636&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/tests/test_dataset.py (original)
+++ incubator/climate/trunk/ocw/tests/test_dataset.py Mon Aug 26 18:45:18 2013
@@ -85,7 +85,7 @@ class TestInvalidDatasetInit(unittest.Te
Dataset(self.lat, self.lon, self.time, self.value, 'prec')
def test_values_given_in_wrong_order(self):
-# with self.assertRaises(ValueError):
+ with self.assertRaises(ValueError):
Dataset(self.lat, self.lon, self.time, self.values_in_wrong_order)