docs: use double quotes for cross-platform compatibility in example code
This commit is contained in:
parent
f75e3fe63f
commit
66eff85e54
|
@ -80,7 +80,7 @@ keyword arguments, e.g. to run only tests marked with ``device`` and the specifi
|
|||
|
||||
.. code-block:: pytest
|
||||
|
||||
$ pytest -v -m 'device(serial="123")'
|
||||
$ pytest -v -m "device(serial='123')"
|
||||
=========================== test session starts ============================
|
||||
platform linux -- Python 3.x.y, pytest-8.x.y, pluggy-1.x.y -- $PYTHON_PREFIX/bin/python
|
||||
cachedir: .pytest_cache
|
||||
|
|
|
@ -88,7 +88,7 @@ with the ``phase`` keyword argument set to ``1``:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
pytest -m slow(phase=1)
|
||||
pytest -m "slow(phase=1)"
|
||||
|
||||
For more information see :ref:`marks <mark>`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue