mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed E265 comment style
This commit is contained in:
parent
eb45a29565
commit
db77915c9f
53 changed files with 196 additions and 208 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue