Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve all paths in the include directive (#11650)
Because pytest's base tmp_path is also in /tmp, ``source`` here is relative path, and thus is not properly converted to doc name. So the test fails because `sources_reported` dict has a key like ``../../../pytest/pytest-0/directive-include/baz/baz``, and ``assert "baz/baz" in sources_reported`` fails. Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
- Loading branch information