should I stop doing weight training?

I'm 37 weeks and I don't want to go into labor until 40-41 weeks but I'm still doing weight training/squats/lunges etc.
I'm worried doing these exercises might start labor...should I stop? Has anyone done this up until birth? Were you early or did it not affect anything?