Skip to content

Commit

Permalink
Exec things...
Browse files Browse the repository at this point in the history
  • Loading branch information
Médéric RIBREUX committed May 29, 2016
1 parent ec6b29a commit 8d1bec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/AlgorithmsTestBase.py
Expand Up @@ -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:
Expand Down

0 comments on commit 8d1bec3

Please sign in to comment.