diff options
author | Claude Paroz <claude@2xlibre.net> | 2017-01-24 12:22:42 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2017-01-24 18:45:54 +0100 |
commit | 2366100872ec17dde06abc63c1ad74dcf746b134 (patch) | |
tree | d6b5c393f8c2c2d01bcbb2295759f14bbf3aac05 /tests/fixtures | |
parent | 5b95d421f7ab8deadaf3c1ad3f341bdfc85bfca4 (diff) | |
download | django-2366100872ec17dde06abc63c1ad74dcf746b134.tar.gz |
Removed unneeded force_text calls in the test suite
Diffstat (limited to 'tests/fixtures')
-rw-r--r-- | tests/fixtures/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/fixtures/tests.py b/tests/fixtures/tests.py index 89edea424e..a25eae18a6 100644 --- a/tests/fixtures/tests.py +++ b/tests/fixtures/tests.py @@ -15,7 +15,6 @@ from django.core.management.commands.dumpdata import ProxyModelWarning from django.core.serializers.base import ProgressBar from django.db import IntegrityError, connection from django.test import TestCase, TransactionTestCase, skipUnlessDBFeature -from django.utils.encoding import force_text from .models import ( Article, Category, PrimaryKeyUUIDModel, ProxySpy, Spy, Tag, Visa, @@ -584,7 +583,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase): def test_loaddata_verbosity_three(self): output = StringIO() management.call_command('loaddata', 'fixture1.json', verbosity=3, stdout=output, stderr=output) - command_output = force_text(output.getvalue()) + command_output = output.getvalue() self.assertIn( "\rProcessed 1 object(s).\rProcessed 2 object(s)." "\rProcessed 3 object(s).\rProcessed 4 object(s).\n", |