From 016f8f153632f9338a5ff6f290a2239ed0c72f01 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 4 Sep 2018 11:48:11 -0300 Subject: [PATCH] Improve get_fslocation_from_item's docstring --- src/_pytest/nodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/_pytest/nodes.py b/src/_pytest/nodes.py index 3bb10ee89..e9ee74b1a 100644 --- a/src/_pytest/nodes.py +++ b/src/_pytest/nodes.py @@ -346,6 +346,7 @@ def get_fslocation_from_item(item): """Tries to extract the actual location from an item, depending on available attributes: * "fslocation": a pair (path, lineno) + * "obj": a Python object that the item wraps. * "fspath": just a path :rtype: a tuple of (str|LocalPath, int) with filename and line number.