A TPMT gene mutation test, also known as a TPMT genotype assay, is a blood test that checks for genetic variations in the TPMT gene. The test can help determine how a person will respond to thiopurine drugs, such as azathioprine, mercaptopurine, and thioguanine.