Skip to content

Commit b826daf

Browse files
author
James Souter
committed
Prevent test failure in src docstring
1 parent b7ac911 commit b826daf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/fastcs/tracer.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ class Tracer:
1919
Note: The global logger level must be set to ``TRACE`` for the messages to be logged
2020
2121
Example usage:
22-
>>> controller.ramp_rate.enable_tracing()
23-
>>> controller.ramp_rate.disable_tracing()
24-
>>> controller.connection.enable_tracing()
25-
>>> controller.connection.add_tracing_filter("query", "V?")
26-
>>> controller.connection.remove_tracing_filter("query", "V?")
27-
>>> controller.connection.disable_tracing()
22+
.. code-block:: python
23+
controller.ramp_rate.enable_tracing()
24+
controller.ramp_rate.disable_tracing()
25+
controller.connection.enable_tracing()
26+
controller.connection.add_tracing_filter("query", "V?")
27+
controller.connection.remove_tracing_filter("query", "V?")
28+
controller.connection.disable_tracing()
2829
2930
:param name: The name of the logger. Attached to log messages as ``logger_name``.
3031

0 commit comments

Comments
 (0)