Skip to content
Permalink
Browse files

Exec things...

  • Loading branch information
Médéric RIBREUX
Médéric RIBREUX committed May 28, 2016
1 parent ec6b29a commit 8d1bec33a0e036a2123e1a7568168ca2f71e35ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/tests/AlgorithmsTestBase.py
@@ -101,7 +101,7 @@ def check_algorithm(self, name, defs):

expectFailure = False
if 'expectedFailure' in defs:
exec('\n'.join(defs['expectedFailure'][:-1]) in globals(), locals()
exec('\n'.join(defs['expectedFailure'][:-1])) in globals(), locals()
expectFailure = eval(defs['expectedFailure'][-1])

if expectFailure:

0 comments on commit 8d1bec3

Please sign in to comment.
You can’t perform that action at this time.