pytest_cases/common_pytest.py
def safe_isclass(obj  # type: object
                 ):
    # type: (...) -> bool
    """Ignore any exception via isinstance on Python 3."""
    try:
        return isclass(obj)
    except Exception:  # noqa
        return False
Ignore any exception via isinstance on Python 3.
Ignore any exception via isinstance on Python 3.
Ignore any exception via isinstance on Python 3 .
def safe_isclass(obj  
                 ):
    try:
        return isclass(obj)
    except Exception:  
        return False
def safe_isclass ( obj ) : try : return isclass ( obj ) except Exception : return False
Ignore any exception via isinstance on Python 3.
Ignore any exception via isinstance on Python 3 .
# type: object # type: (...) -> bool """Ignore any exception via isinstance on Python 3.""" # noqa
obj