Implement a decorator to restrict python tests to phpbb versions