If you have internal pull-ups ON, and you're testing the input pin for logic 1, the only
way your LED shoud NOT blink would be when GPIO.5 is pulled to ground.