mirror of
https://github.com/django/django.git
synced 2025-08-19 02:01:29 +00:00
[1.7.x] Harmonized some PEP 0263 coding preambles
Backport of e520a73ee
from master.
This commit is contained in:
parent
c5185172a6
commit
e8a7436941
44 changed files with 45 additions and 45 deletions
|
@ -184,7 +184,7 @@ class MakeMigrationsTests(MigrationTestBase):
|
|||
|
||||
with codecs.open(initial_file, 'r', encoding='utf-8') as fp:
|
||||
content = fp.read()
|
||||
self.assertTrue('# encoding: utf8' in content)
|
||||
self.assertTrue('# -*- coding: utf-8 -*-' in content)
|
||||
self.assertTrue('migrations.CreateModel' in content)
|
||||
|
||||
if six.PY3:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue