Would `py.test`_ work here since you defined it below?