1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

[1.8.x] Refs #24324 -- Fixed UnicodeDecodeError in template_backends tests

The message for the SuspiciousFileOperation exception needs to
be a unicode string.

Backport of bebc1e53a3ab059849e5c4e5a55b2f5e68b67169 from master
This commit is contained in:
Tim Graham 2015-02-16 08:25:53 -05:00
parent ec9119d4ec
commit f9a99c410e

View File

@ -1,3 +1,5 @@
from __future__ import unicode_literals
import os
import stat
import sys