Fix test for absence of Python