diff options
| author | Tim Graham <timograham@gmail.com> | 2015-03-11 14:48:19 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-11 14:49:15 -0400 |
| commit | 389baccac5fce72c67cfed7a6ebcf9273edf9282 (patch) | |
| tree | 161bcf57efb58828a16ef40fd1db7dcd064dd13f /tests/staticfiles_tests/tests.py | |
| parent | ccff08c194b0b7f8a86bf9c5dd6d5be473760a1b (diff) | |
Fixed staticfiles test on Windows; refs #23986.
Diffstat (limited to 'tests/staticfiles_tests/tests.py')
| -rw-r--r-- | tests/staticfiles_tests/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index 9cfabecbb2..92f36f637a 100644 --- a/tests/staticfiles_tests/tests.py +++ b/tests/staticfiles_tests/tests.py @@ -302,7 +302,7 @@ class TestCollectionClear(CollectionTestCase): self.assertFileNotFound('cleared.txt') def test_dir_not_exists(self, **kwargs): - shutil.rmtree(settings.STATIC_ROOT) + shutil.rmtree(six.text_type(settings.STATIC_ROOT)) super(TestCollectionClear, self).run_collectstatic(clear=True) |
