code/source: remove unneeded assert
code/source: remove unneeded assert

inspect.getsource() definitely returns str.

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