mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.10.x] Refs #26897 -- Added cleanup to i18n test
This commit is contained in:
		| @@ -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): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user