mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Harmonized some PEP 0263 coding preambles
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user