class_docstr: Helper class to test exception raising
class_docstr_tok: ["Helper","class","to","test","exception","raising"]
code: def __init__(self, exc):
      self.exc = exc
  
imports: from __future__ import print_function
  import numpy
  import sys
  import os
  import inspect
  import gc
  import pytest
  import functools
  from packaging.version import Version
  from ..util.check_environment import has_backend
label_desc: Use image node_id 1 to create a new raises object from inherited base classes: object with example: obj = raises(exc)