(a) Unless erroneously compelled to do so, a married person who testifies in a proceeding to which his spouse is a party, or who testifies against his spouse in any proceeding, does not have a privilege under this article in the proceeding in which such testimony is given.
(b) There is no privilege under this article in a civil proceeding brought or defended by a married person for the immediate benefit of his spouse or of himself and his spouse.
(Enacted by Stats. 1965, Ch. 299.)