summaryrefslogtreecommitdiff
path: root/tests/migrations
diff options
context:
space:
mode:
authorCollin Anderson <cmawebsite@gmail.com>2015-02-05 13:25:34 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 09:35:08 -0500
commitfc8e1e0c107fe5fc8c82f01dfabfa9b7a196a67c (patch)
tree2479a9a9fdc399e9ec6d640d9eaca191e66e6c6c /tests/migrations
parent232a1d297c8431a77f3dbb9bcf453d17eb5e3315 (diff)
[1.8.x] Fixed E265 comment style
Backport of db77915c9fd35a203edd8206f702ee4082f04d4a from master
Diffstat (limited to 'tests/migrations')
-rw-r--r--tests/migrations/test_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py
index 0f86289cff..8f6c574600 100644
--- a/tests/migrations/test_commands.py
+++ b/tests/migrations/test_commands.py
@@ -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'):