Remove checks for Python2-only fields im_func and func_code
Remove checks for Python2-only fields im_func and func_code

The-Compiler/pytest,The-Compiler/pytest,Akasurde/pytest,nicoddemus/pytest,RonnyPfannschmidt/pytest,nicoddemus/pytest,pytest-dev/pytest,markshao/pytest,alfredodeza/pytest