Support special locals like __tracebackhide__ for py.test.