Skip to content

Commit bfcd553

Browse files
committed
update test_distributions
1 parent 6019f90 commit bfcd553

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_distributions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,9 +1797,8 @@ def test_independent_shape(self):
17971797
self.assertEqual(indep_dist.has_rsample, base_dist.has_rsample)
17981798
if indep_dist.has_rsample:
17991799
self.assertEqual(indep_dist.sample().shape, base_dist.sample().shape)
1800-
if indep_dist.has_enumerate_support:
1801-
self.assertEqual(indep_dist.enumerate_support().shape, base_dist.enumerate_support().shape)
18021800
try:
1801+
self.assertEqual(indep_dist.enumerate_support().shape, base_dist.enumerate_support().shape)
18031802
self.assertEqual(indep_dist.mean.shape, base_dist.mean.shape)
18041803
except NotImplementedError:
18051804
pass

0 commit comments

Comments
 (0)