code: def test_family_bad_type():
      data = pd.DataFrame({"x": [1], "y": [1]})
  
      with pytest.raises(ValueError):
          bmb.Model("y ~ x", data, family=0)
  
      with pytest.raises(ValueError):
          bmb.Model("y ~ x", data, family=set("gaussian"))
  
      with pytest.raises(ValueError):
          bmb.Model("y ~ x", data, family={"family": "gaussian"})
  
imports: from os.path import dirname, join
  import pytest
  import numpy
  import pymc
  import pandas
  from scipy import special
  import bambi
label_desc: Use image node_id 13 for calling a global function with example usage: test_family_bad_type() without return types