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/staticfiles_tests/test_storage.py | |
| parent | 5b95d421f7ab8deadaf3c1ad3f341bdfc85bfca4 (diff) | |
Removed unneeded force_text calls in the test suite
Diffstat (limited to 'tests/staticfiles_tests/test_storage.py')
| -rw-r--r-- | tests/staticfiles_tests/test_storage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/staticfiles_tests/test_storage.py b/tests/staticfiles_tests/test_storage.py index c72100ccb1..2bbe912507 100644 --- a/tests/staticfiles_tests/test_storage.py +++ b/tests/staticfiles_tests/test_storage.py @@ -12,7 +12,6 @@ from django.contrib.staticfiles.management.commands.collectstatic import \ from django.core.cache.backends.base import BaseCache from django.core.management import call_command from django.test import override_settings -from django.utils.encoding import force_text from .cases import CollectionTestCase from .settings import TEST_ROOT @@ -380,7 +379,7 @@ class TestCollectionManifestStorage(TestHashedFiles, CollectionTestCase): manifest_content = storage.staticfiles_storage.read_manifest() self.assertIn( '"version": "%s"' % storage.staticfiles_storage.manifest_version, - force_text(manifest_content) + manifest_content ) def test_parse_cache(self): |
