Use old method of getting markers for pytest version < 2.4.2