Skip to content
Permalink
Browse files

Try this exec modification

  • Loading branch information
Médéric Ribreux Médéric RIBREUX
Médéric Ribreux authored and Médéric RIBREUX committed May 19, 2016
1 parent 1aa0bbd commit cd7047cc7c7ff7156af14f02b36224b385e5ccd7
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/tests/AlgorithmsTestBase.py
@@ -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():

0 comments on commit cd7047c

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