diff options
| -rw-r--r-- | tests/fixtures/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fixtures/tests.py b/tests/fixtures/tests.py index 8eec3145b8..8f2e560781 100644 --- a/tests/fixtures/tests.py +++ b/tests/fixtures/tests.py @@ -345,7 +345,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase): def test_loaddata_verbosity_three(self): output = six.StringIO() management.call_command('loaddata', 'fixture1.json', verbosity=3, stdout=output, stderr=output) - command_output = output.getvalue() + command_output = force_text(output.getvalue()) self.assertIn( "\rProcessed 1 object(s).\rProcessed 2 object(s)." "\rProcessed 3 object(s).\rProcessed 4 object(s).\n", |
