diff --git a/doc/en/example/markers.rst b/doc/en/example/markers.rst index cb6368a6443..e0682c834b5 100644 --- a/doc/en/example/markers.rst +++ b/doc/en/example/markers.rst @@ -271,8 +271,12 @@ You can also set a module level marker:: import pytest pytestmark = pytest.mark.webtest -in which case it will be applied to all functions and -methods defined in the module. +or multiple markers:: + + pytestmark = [pytest.mark.webtest, pytest.mark.slowtest] + +in which case markers will be applied (in left-to-right order) to +all functions and methods defined in the module. .. _`marking individual tests when using parametrize`: