Switch from Nose to Pytest