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…
Reference in New Issue