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:
parent
ec9119d4ec
commit
f9a99c410e
@ -1,3 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
import stat
|
||||
import sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user