mirror of https://github.com/django/django.git
[1.10.x] Refs #26897 -- Added cleanup to i18n test
This commit is contained in:
parent
208eead787
commit
de9af3912c
|
@ -258,7 +258,9 @@ class BasicExtractorTests(ExtractorTests):
|
|||
|
||||
def test_unicode_file_name(self):
|
||||
os.chdir(self.test_dir)
|
||||
open(os.path.join(self.test_dir, 'vidéo.txt'), 'a').close()
|
||||
unicode_path = os.path.join(self.test_dir, 'vidéo.txt')
|
||||
open(unicode_path, 'a').close()
|
||||
self.addCleanup(self.rmfile, unicode_path)
|
||||
management.call_command('makemessages', locale=[LOCALE], verbosity=0)
|
||||
|
||||
def test_extraction_warning(self):
|
||||
|
|
Loading…
Reference in New Issue