I wouldn't worry too much if the snake is doing well and still has good body weight to it. Sometimes these guys just do this. Is this a wild caught snake or captive bred and is it a new snake or a LTC? New or newly caught snakes may often not eat for a while as they adjust to a new situation. There acually could be a ton of factors why it's not eating, best thing is to make sure it's comfortable, can hide, can thermoregulate and has clean water to drink at ALL times. Also if it is a new snake, make sure it's in a quiet area and I wouldn't handle it for a while. Hope this helps.

Roy