code: def test_raises(self):
      with pytest.raises(ValueError):
          AbsoluteDiff(method="invalid")
  
file_path: featuretools/featuretools/tests/primitive_tests/test_absolute_diff.py
imports: import numpy
  import pandas
  import pytest
  from featuretools.primitives import AbsoluteDiff
label_desc: Use image node_id 8 for calling the TestAbsoluteDiff obj's underlying member method code with example usage: obj.test_raises() without return types