Iga Swiatek has accepted a one-month ban from tennis after testing positive for the banned substance trimetazidine (TMZ) earlier this year.