Skip to content

Commit 79f0c55

Browse files
authored
Merge pull request #3646 from vkarak/doc/update-text-parameter-packs
[doc] Update docs on parameter packs
2 parents 2fa6300 + bf933c2 commit 79f0c55

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/tutorial.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,8 @@ Instead of the skip hook, we simply unpack the combined parameters in the :func:
969969
:caption:
970970
:pyobject: echo_test_v1
971971

972-
The advantage of using parameter packs instead of skipping explicitly the test is that we do not get a warning message and the test is more compact.
972+
The advantage of using parameter packs instead of skipping the test in a hook is that the test is instantiated only as many times as needed.
973+
If only few parameter combinations are valid, then parameter packs can speed up test loading.
973974

974975
.. note::
975976

@@ -1532,7 +1533,7 @@ Here is an example:
15321533
.. code-block:: python
15331534
15341535
from reframe.core.builtins import xfail
1535-
1536+
15361537
reference = {
15371538
'tutorialsys': {
15381539
'copy_bw': xfail('demo fail', (100_000, -0.1, 0.1, 'MB/s')),

0 commit comments

Comments
 (0)