A federal appeals court affirmed a trial court's dismissal of a lawsuit claiming a teacher suffering from chronic depression was let go after she told colleagues she was considering killing herself and her son, a student at the school, and threatening school officials.