Fixed staticfiles test on Windows; refs #23986.

This commit is contained in:
Tim Graham 2015-03-11 14:48:19 -04:00
parent ccff08c194
commit 389baccac5
1 changed files with 1 additions and 1 deletions

View File

@ -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)