Cal. Educ. Code § 51540
In the public elementary and high schools or in public elementary and high school school-sponsored activities and classes held elsewhere than on school premises, live vertebrate animals shall not, as part of a scientific experiment or any purpose whatever:
(b) Be injured through any other treatments, including, but not limited to, anesthetization or electric shock.
Live animals on the premises of a public elementary or high school shall be housed and cared for in a humane and safe manner.
The provisions of this section are not intended to prohibit or constrain vocational instruction in the normal practices of animal husbandry.