[django/django] 88f03d: Fixed test that reads a migration file from disk.

3 views
Skip to first unread message

GitHub

unread,
Oct 27, 2013, 1:55:59 PM10/27/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 88f03db05fb3c42648289fa6ed27d6c13e2719cb
https://github.com/django/django/commit/88f03db05fb3c42648289fa6ed27d6c13e2719cb
Author: Ramiro Morales <ram...@rmorales.net>
Date: 2013-10-27 (Sun, 27 Oct 2013)

Changed paths:
M tests/migrations/test_commands.py

Log Message:
-----------
Fixed test that reads a migration file from disk.

We need to make sure content read from the file is decoded from UTF-8
right from the start so Python doesn't try to use another encoding
(read: ASCII/CP1252 under Windows.)



Reply all
Reply to author
Forward
0 new messages