Odd electrical issue

Its a basic test light