Just read from the SG Criminal Procedure Codes
"Sentence of death not to be passed on pregnant woman.
214. —(1) Where a woman convicted of an offence punishable with death alleges that she is pregnant, or where the court before whom a woman is so convicted thinks fit, the question whether or not the woman is pregnant shall, before sentence is passed on her, be determined by the court.
(2) If the woman is found to be pregnant, a sentence of imprisonment for life shall be passed on her.
(3) If the woman is found not to be pregnant, she may appeal under the Supreme Court of Judicature Act to the Court of Criminal Appeal against such finding, and that Court, if satisfied that for any reason the finding should be set aside, shall quash the sentence passed on her, and instead of it pass on her a sentence of imprisonment for life. "