      def test_include_tag_missing_context(self):
          # The 'context' parameter must be present when takes_context is True
          six.assertRaisesRegex(self, template.TemplateSyntaxError,
              "'inclusion_tag_without_context_parameter' is decorated with takes_context=True so it must have a first argument of 'context'",
              template.Template, '{% load custom %}{% inclusion_tag_without_context_parameter 123 %}')
  
      def test_inclusion_tags_from_template(self):
          c = template.Context({'value': 42})
  
          t = template.Template('{% load custom %}{% inclusion_no_params_from_template %}')
 
</s> remove             template.Template, '{% load custom %}{% inclusion_unlimited_args_kwargs 37 eggs="scrambled" eggs="scrambled" %}')
 </s> add             template.Template, '{% load inclusion %}{% inclusion_unlimited_args_kwargs 37 eggs="scrambled" eggs="scrambled" %}') </s> remove         t = template.Template('{% load custom %}{% inclusion_no_params_from_template %}')
 </s> add         t = template.Template('{% load inclusion %}{% inclusion_no_params_from_template %}') </s> remove         t = template.Template('{% load custom %}{% inclusion_no_params %}')
 </s> add         t = template.Template('{% load inclusion %}{% inclusion_no_params %}') </s> remove         t = template.Template('{% load custom %}{% inclusion_tag_use_l10n %}')
 </s> add         t = template.Template('{% load inclusion %}{% inclusion_tag_use_l10n %}') </s> remove         t = template.Template('{% load custom %}{% inclusion_only_unlimited_args_from_template 37 42 56 89 %}')
 </s> add         t = template.Template('{% load inclusion %}{% inclusion_only_unlimited_args_from_template 37 42 56 89 %}')
            template.Template, '{% load inclusion %}{% inclusion_tag_without_context_parameter 123 %}')
      def test_include_tag_missing_context(self):
          # The 'context' parameter must be present when takes_context is True
          six.assertRaisesRegex(self, template.TemplateSyntaxError,
              "'inclusion_tag_without_context_parameter' is decorated with takes_context=True so it must have a first argument of 'context'",
            template.Template, '{% load inclusion %}{% inclusion_tag_without_context_parameter 123 %}')
  
      def test_inclusion_tags_from_template(self):
          c = template.Context({'value': 42})
  
          t = template.Template('{% load custom %}{% inclusion_no_params_from_template %}')
keep keep keep keep replace keep keep keep keep keep
 Fixed #24094 -- Enabled template tests to run individually. 
tests/template_tests/test_custom.py