Skip to content

Commit b1524a2

Browse files
authored
Merge pull request #3195 from createyourpersonalaccount/fixing-tutorial
[doc] Display Python imports in the first tutorial example
2 parents f0f27e2 + 6ccd44f commit b1524a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Here is the full ReFrame test:
8585

8686
.. literalinclude:: ../examples/tutorial/stream/stream_runonly.py
8787
:caption:
88-
:pyobject: stream_test
88+
:lines: 5-
8989

9090
ReFrame tests are specially decorated classes that ultimately derive from the :class:`~reframe.core.pipeline.RegressionTest` class.
9191
Since we only want to run an executable in this first test, we derive from the :class:`~reframe.core.pipeline.RunOnlyRegressionTest` class, which essentially short-circuits the "compile" stage of the test.

0 commit comments

Comments
 (0)