Skip to content

Commit

Permalink
raise exception instance
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Oct 18, 2017
1 parent f53948e commit ee91fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Products/PageTemplates/tests/testExpressions.py
Expand Up @@ -92,7 +92,7 @@ def test_evaluate_with_render_simple_callable(self):
def test_evaluate_with_unimplemented_call(self):
class Dummy(object):
def __call__(self):
raise NotImplementedError
raise NotImplementedError()

dummy = Dummy()
ec = self._makeContext(bindings={'dummy': dummy})
Expand Down

0 comments on commit ee91fec

Please sign in to comment.