Pregnancy test

Can cannabis or alcohol in your system effect your results on a pregnancy test?