mirror of
https://github.com/django/django.git
synced 2024-12-28 12:06:22 +00:00
[1.8.x] Skipped tests from refs #24168 on Python 3.2.
This commit is contained in:
parent
f87457a460
commit
c65c8f5696
@ -22,10 +22,14 @@ from django.utils.deprecation import RemovedInDjango19Warning
|
|||||||
from django.utils.encoding import force_str
|
from django.utils.encoding import force_str
|
||||||
from django.utils.translation import deactivate
|
from django.utils.translation import deactivate
|
||||||
|
|
||||||
|
# Jinja2 doesn't run on Python 3.2 because it uses u-prefixed unicode strings.
|
||||||
|
if sys.version_info[:2] != (3, 2):
|
||||||
try:
|
try:
|
||||||
import jinja2
|
import jinja2
|
||||||
except ImportError:
|
except ImportError:
|
||||||
jinja2 = None
|
jinja2 = None
|
||||||
|
else:
|
||||||
|
jinja2 = None
|
||||||
|
|
||||||
|
|
||||||
__all__ = (
|
__all__ = (
|
||||||
|
Loading…
Reference in New Issue
Block a user