A Toronto woman who left her almost 15-month-old baby boy unattended in a bathtub filled with water has been sentenced to three years in a federal penitentiary.