mirror of
https://github.com/django/django.git
synced 2025-02-02 05:40:39 +00:00
Fixed template_tests so discovery doesn't directly find tests that require setuptools.
This commit is contained in:
parent
56e777eba3
commit
6d96831769
@ -47,7 +47,7 @@ from .test_response import (TemplateResponseTest, CacheMiddlewareTest,
|
||||
SimpleTemplateResponseTest, CustomURLConfTest)
|
||||
|
||||
try:
|
||||
from .test_loaders import RenderToStringTest, EggLoaderTest
|
||||
from .loaders import RenderToStringTest, EggLoaderTest
|
||||
except ImportError as e:
|
||||
if "pkg_resources" in e.args[0]:
|
||||
pass # If setuptools isn't installed, that's fine. Just move on.
|
||||
|
Loading…
x
Reference in New Issue
Block a user