Skip to content

Commit 9a9dc17

Browse files
committed
Fix documentation: proper notation of string constants.
1 parent f9d7c54 commit 9a9dc17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Reference
2323
dependencies must be adapted to the scope.
2424
:type depends: iterable of :class:`str`
2525
:param scope: the scope to search for the dependencies. Must be
26-
either `session`, `package`, `module`, or `class`.
26+
either `'session'`, `'package'`, `'module'`, or `'class'`.
2727
:type scope: :class:`str`
2828

2929
.. versionchanged:: 0.5.0

pytest_dependency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def depends(request, other, scope="module"):
103103
adapted to the scope.
104104
:type other: iterable of :class:`str`
105105
:param scope: the scope to search for the dependencies. Must be
106-
either `session`, `package`, `module`, or `class`.
106+
either `'session'`, `'package'`, `'module'`, or `'class'`.
107107
:type scope: :class:`str`
108108
109109
.. versionadded:: 0.2

0 commit comments

Comments
 (0)