code: def test_broadcast_shape_strict_error(shapes):
      with pytest.raises(ValueError):
          broadcast_shape(*shapes, strict=True)
  
imports: import weakref
  import numpy
  import pytest
  import torch
  from torch.autograd import grad
  import pyro.distributions
  from pyro.distributions import constraints
  from pyro.distributions.util import broadcast_shape, deep_to, detach, sum_leftmost, sum_rightmost, weakmethod
  from pyro.nn.module import PyroModule, PyroParam, PyroSample
  from tests.common import assert_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_broadcast_shape_strict_error(shapes) without return types