def METHOD_NAME():
    with pytest.raises(InvalidNumericType, match=r"overflow"):
        Bitnum("0b10", 1, False)
    with pytest.raises(InvalidNumericType, match=r"overflow"):
        Bitnum("-2", 1, True)
    with pytest.raises(InvalidNumericType, match=r"overflow"):
        Bitnum("0x2", 1, False)