The line number within filename where this DocTest begins, or None if the line number is unavailable. This line number is zero-based with respect to the beginning of the file.
doctest/DocTest.lineno
DocTest.lineno