docs: use double quotes for cross-platform compatibility in example code

This commit is contained in:
lovetheguitar 2024-06-22 19:48:15 +02:00
parent f75e3fe63f
commit 66eff85e54
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>`.