Skip to content

Commit

Permalink
Try this exec modification
Browse files Browse the repository at this point in the history
  • Loading branch information
Médéric Ribreux authored and Médéric RIBREUX committed May 29, 2016
1 parent 1aa0bbd commit cd7047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/AlgorithmsTestBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def check_algorithm(self, name, defs):

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

def doCheck():
Expand Down

0 comments on commit cd7047c

Please sign in to comment.