@property<EOL><INDENT>def head_line(self):<DEDENT>
if self.location is not None:<EOL><INDENT>fspath, lineno, domain = self.location<EOL>return domain<EOL><DEDENT>
**Experimental**

Returns the head line shown with longrepr output for this report, more commonly during
traceback representation during failures::

    ________ Test.foo ________


In the example above, the head_line is "Test.foo".

.. note::

    This function is considered **experimental**, so beware that it is subject to changes
    even in patch releases.