Do not tests deprecated reflect's functions on Python 3