aboutsummaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 2cc99d294..676698430 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -101,6 +101,13 @@ And::
These should not be escaped: \$ \\ \> \[ \{
+And:
+
+.. code-block:: python
+
+ def my_function(x):
+ return x + 1
+
Lists
=====