Yeast infection

Sara
Can you take a pregnancy test if you have a yeast infection? AF is due today, but is usually a couple days late so I am waiting to test.