diff options
| author | Tim Graham <timograham@gmail.com> | 2015-04-16 13:44:07 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-04-16 13:44:07 -0400 |
| commit | 33b1635a90564a26054930caa0dd8f5be31e101e (patch) | |
| tree | 47486242c65e04f6f6ddce690d0eb159d4dac745 /tests/fixtures/tests.py | |
| parent | 188a2418807f661eedfc675731521f2f46a3c49a (diff) | |
Fixed fixtures tests failure on Python 2 with non-ASCII path.
Diffstat (limited to 'tests/fixtures/tests.py')
| -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", |
