def is_numeric(n):
    """
    Tests if an object is interpretable as a number.

    >>> is_numeric('1')
    True
    """
    try:
        float(n)
        return True
    except (ValueError, TypeError):
        return False
