Fixed template_tests so discovery doesn't directly find tests that require setuptools.

This commit is contained in:
Preston Timmons 2013-04-06 19:29:09 -05:00 committed by Carl Meyer
parent 56e777eba3
commit 6d96831769
2 changed files with 1 additions and 1 deletions

View File

@ -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.