Fixed staticfiles test on Windows; refs #23986.
This commit is contained in:
parent
ccff08c194
commit
389baccac5
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue