mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #15609 -- Fixed some 'raise' statements to use the newer style syntax. Thanks, DaNmarner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f43b3f58fb
commit
4e25bc71b1
6 changed files with 7 additions and 7 deletions
|
@ -389,7 +389,7 @@ class Templates(unittest.TestCase):
|
|||
try:
|
||||
return (template_tests[template_name][0] , "test:%s" % template_name)
|
||||
except KeyError:
|
||||
raise template.TemplateDoesNotExist, template_name
|
||||
raise template.TemplateDoesNotExist(template_name)
|
||||
|
||||
cache_loader = cached.Loader(('test_template_loader',))
|
||||
cache_loader._cached_loaders = (test_template_loader,)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue