Remove check in test_autoslugfield for migrations
It seems that migrations are unicode in Django 1.11
@@ -200,9 +200,6 @@ class AutoSlugFieldTest(TestCase):
})
writer = MigrationWriter(migration)
output = writer.as_string()
- # It should NOT be unicode.
- self.assertIsInstance(output, six.binary_type,
- "Migration as_string returned unicode")
# We don't test the output formatting - that's too fragile.
# Just make sure it runs for now, and that things look alright.
context = {
