diff options
author | Daniel Hahler <git@thequod.de> | 2020-02-04 02:40:59 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2020-02-04 02:40:59 +0100 |
commit | 9c7f1d9b329f97914d75c2891f20def973429fa5 (patch) | |
tree | 40a4c483012d0ca0754c59fbf12acb8145aeff10 /src/_pytest/compat.py | |
parent | dab90ef726cf33579e692820f82797d8e906ff8a (diff) | |
download | pytest-9c7f1d9b329f97914d75c2891f20def973429fa5.tar.gz |
Remove compat.getfslineno
Diffstat (limited to 'src/_pytest/compat.py')
-rw-r--r-- | src/_pytest/compat.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py index 3a3645c5a..f204dbd2d 100644 --- a/src/_pytest/compat.py +++ b/src/_pytest/compat.py @@ -306,13 +306,6 @@ def get_real_method(obj, holder): return obj -def getfslineno(obj) -> Tuple[Union[str, py.path.local], int]: - """(**Deprecated**, use _pytest._code.source.getfslineno directly)""" - import _pytest._code.source - - return _pytest._code.source.getfslineno(obj) - - def getimfunc(func): try: return func.__func__ |