From 6970b68733b8c09fa076e5ea72e6a4a4584eedfc Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Wed, 23 Nov 2022 22:59:11 +0100 Subject: [PATCH] Fix example in `sn.print()` docs --- reframe/utility/sanity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reframe/utility/sanity.py b/reframe/utility/sanity.py index bd66bd03a4..67d2e402e9 100644 --- a/reframe/utility/sanity.py +++ b/reframe/utility/sanity.py @@ -156,7 +156,7 @@ def print(obj, *, sep=' ', end='\n', file=None, flush=False): @sanity_function def my_sanity_fn(self): return sn.assert_eq( - sn.count(sn.print(sn.extract_all(...))), 10 + sn.count(sn.print(sn.extractall(...))), 10 ) If ``file`` is None, :func:`print` will print its arguments to the