mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix an error with pytest-4.x
This commit is contained in:
@@ -28,7 +28,7 @@ def test_build(request, rootdir, sphinx_test_tempdir):
|
||||
# each test expect result of db value at previous test case.
|
||||
'builddir': sphinx_test_tempdir / 'websupport'
|
||||
}
|
||||
marker = request.node.get_marker('support')
|
||||
marker = request.node.get_closest_marker('support')
|
||||
if marker:
|
||||
settings.update(marker.kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user