Sex affect test results????

Can having sex night before taking a pregnancy test affect the results?