Base matplotlib tests on version number. This will stop the Mac trying to run some tests it can't execute.