mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed E265 comment style
This commit is contained in:
committed by
Tim Graham
parent
eb45a29565
commit
db77915c9f
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user