1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.8.x] Fixed E265 comment style

Backport of db77915c9f from master
This commit is contained in:
Collin Anderson
2015-02-05 13:25:34 -05:00
committed by Tim Graham
parent 232a1d297c
commit fc8e1e0c10
54 changed files with 197 additions and 210 deletions

View File

@@ -360,7 +360,7 @@ class MakeMigrationsTests(MigrationTestBase):
self.assertIn('\\u201c\\xd0j\\xe1\\xf1g\\xf3\\u201d', content) # title.default
def test_failing_migration(self):
#21280 - If a migration fails to serialize, it shouldn't generate an empty file.
# If a migration fails to serialize, it shouldn't generate an empty file. #21280
apps.register_model('migrations', UnserializableModel)
with six.assertRaisesRegex(self, ValueError, r'Cannot serialize'):