Blob Blame History Raw
--- theano/tensor/tests/test_raw_random.py.orig	2019-01-15 14:13:57.000000000 -0700
+++ theano/tensor/tests/test_raw_random.py	2019-08-14 10:48:01.346496710 -0600
@@ -678,10 +678,10 @@ class T_random_function(utt.InferShapeTe
         numpy_val1c = as_floatX(numpy_rng.uniform(low=[-4.], high=[-1]))
         assert np.all(val0c == numpy_val0c)
         assert np.all(val1c == numpy_val1c)
-        self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1, 0], [1])
+        self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1, 0], [0])
         self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1, 0], [1, 2])
         self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1, 0], [2, 1])
-        self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1], [1])
+        self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1], [0])
         # TODO: do we want that?
         #self.assertRaises(ValueError, fc, post1c, [-4., -2], [-1], [2])
 
--- theano/tensor/tests/test_shared_randomstreams.py.orig	2019-01-15 14:13:57.000000000 -0700
+++ theano/tensor/tests/test_shared_randomstreams.py	2019-08-14 10:49:02.341797473 -0600
@@ -466,10 +466,10 @@ class T_SharedRandomStreams(unittest.Tes
         numpy_val1c = numpy_rng.uniform(low=[-4.], high=[-1])
         assert np.all(val0c == numpy_val0c)
         assert np.all(val1c == numpy_val1c)
-        self.assertRaises(ValueError, fc, [-4., -2], [-1, 0], [1])
+        self.assertRaises(ValueError, fc, [-4., -2], [-1, 0], [0])
         self.assertRaises(ValueError, fc, [-4., -2], [-1, 0], [1, 2])
         self.assertRaises(ValueError, fc, [-4., -2], [-1, 0], [2, 1])
-        self.assertRaises(ValueError, fc, [-4., -2], [-1], [1])
+        self.assertRaises(ValueError, fc, [-4., -2], [-1], [0])
         # TODO: do we want that?
         #self.assertRaises(ValueError, fc, [-4., -2], [-1], [2])