code: def test_conflicting_types(test_data, float_alpha, beta):
      with pytest.raises((TypeError, RuntimeError)):
          dist.Beta(float_alpha, beta).log_prob(test_data)
  
file_path: pyro/tests/distributions/test_tensor_type.py
imports: import pytest
  import scipy.stats
  import torch
  import pyro.distributions
  from tests.common import assert_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_conflicting_types(test_data, float_alpha, beta) without return types