diff --git a/src/_pytest/legacypath.py b/src/_pytest/legacypath.py index 37e8c2422..ac23888c7 100644 --- a/src/_pytest/legacypath.py +++ b/src/_pytest/legacypath.py @@ -270,8 +270,8 @@ class LegacyTestdirPlugin: @final @attr.s(init=False, auto_attribs=True) class TempdirFactory: - """Backward compatibility wrapper that implements :class:``_pytest.compat.LEGACY_PATH`` - for :class:``TempPathFactory``.""" + """Backward compatibility wrapper that implements :class:`_pytest.compat.LEGACY_PATH` + for :class:`TempPathFactory`.""" _tmppath_factory: TempPathFactory