mirror of
https://github.com/django/django.git
synced 2025-03-26 01:00:46 +00:00
Fixed "no such test method" error in template_tests.
Without this patch, you couldn't run an individual test case in template_tests. Refs #23768
This commit is contained in:
parent
b872134bfc
commit
adacbd64a0
@ -52,6 +52,7 @@ def setup(templates, *args):
|
||||
('django.template.loaders.locmem.Loader', templates),
|
||||
]),
|
||||
])
|
||||
@functools.wraps(func)
|
||||
def inner(self):
|
||||
loader = Engine.get_default().template_loaders[0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user