code: def test_with_details(self):
      e = errors.InvalidArgumentError(
          "expected absolute path; got './foo'"
      )
      expected_msg = (
          "Invalid argument: expected absolute path; got './foo'"
      )
      self.assertEqual(str(e), expected_msg)
  
imports: from tensorboard import errors
  from tensorboard import test
label_desc: Use image node_id 2 for calling the InvalidArgumentErrorTest obj's underlying member method code with example usage: obj.test_with_details() without return types