Skip to content

Commit 50e84ce

Browse files
author
Vasileios Karakasis
committed
Address PR comments
1 parent 5a46cde commit 50e84ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reframe/frontend/executors/policies.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ def runcase(self, case):
103103

104104
if any(self._task_index[c].skipped
105105
for c in case.deps if c in self._task_index):
106+
107+
# We raise the SkipTestError here and catch it immediately in
108+
# order for `skip()` to get the correct exception context.
106109
try:
107110
raise SkipTestError('skipped due to skipped dependencies')
108111
except SkipTestError as e:

0 commit comments

Comments
 (0)