code: def test_invalid_table_type(self):
      with pytest.raises(
          ValueError, match="must be an array of integers"
      ):
          odds_ratio([[1.0, 3.4], [5.0, 9.9]])
  
file_path: scipy/scipy/stats/tests/test_odds_ratio.py
imports: import pytest
  import numpy
  from numpy.testing import assert_equal, assert_allclose
  from .._discrete_distns import nchypergeom_fisher, hypergeom
  from scipy.stats._odds_ratio import odds_ratio
  from .data.fisher_exact_results_from_r import data
label_desc: Use image node_id 6 for calling the TestOddsRatio obj's underlying member method code with example usage: obj.test_invalid_table_type() without return types