California CodesCode of Civil Procedure - CCPPart 1 — Of Courts of JusticeTitle 2 — Judicial OfficersChapter 3 — Disqualifications of JudgesSection 170.2
It shall not be grounds for disqualification that the judge:
(a) Is or is not a member of a racial, ethnic, religious, sexual or similar group and the proceeding involves the rights of such a group.
(b) Has in any capacity expressed a view on a legal or factual issue presented in the proceeding, except as provided in paragraph (2) of subdivision (a) of, or subdivision (b) or (c) of, Section 170.1.
(c) Has as a lawyer or public official participated in the drafting of laws or in the effort to pass or defeat laws, the meaning, effect or application of which is in issue in the proceeding unless the judge believes that his or her prior involvement was so well known as to raise a reasonable doubt in the public mind as to his or her capacity to be impartial.
Notes
Prohibits disqualifying a judge merely because of membership or nonmembership in a group whose rights are involved, prior expression of views on an issue subject to stated exceptions, or participation as lawyer or public official in lawmaking. Prior lawmaking involvement may support disqualification if the judge believes its notoriety raises reasonable public doubt about impartiality.
Use as reference
Lexinter.net | California Code, Code of Civil Procedure - CCP § 170.2 | https://laws.lexinter.net/codes/california/code-of-civil-procedure/part-1/title-2/chapter-3/section-170-2