Commits

Jason Pellerin  committed 29350c6

Added a little regression-proofing

  • Participants
  • Parent commits f74327a

Comments (0)

Files changed (1)

File tests/test_forloop.py

 def test_scoping_context_filter(env):
     @contextfilter
     def xtimes(context, arg):
+        assert 'item' in context
         x = context['x']
         return arg * x
     env.filters['xtimes'] = xtimes