code: def test_negative_table_values(self):
      with pytest.raises(ValueError, match="must be nonnegative"):
          odds_ratio([[1, 2], [3, -4]])
  
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 7 for calling the TestOddsRatio obj's underlying member method code with example usage: obj.test_negative_table_values() without return types