From 4c820cc789681f6393706a2280dcaa06c0009165 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 5 May 2020 20:31:08 +0100 Subject: [PATCH] fix remove_bom test See #30 --- pydrive2/test/test_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pydrive2/test/test_file.py b/pydrive2/test/test_file.py index 6dad4d53..6e49ea47 100644 --- a/pydrive2/test/test_file.py +++ b/pydrive2/test/test_file.py @@ -487,7 +487,7 @@ def test_GFile_Conversion_Lossless_String(self): downloaded_file_name = "_tmp_downloaded_file_name.txt" pydrive_retry( lambda: file1.GetContentFile( - downloaded_file_name, mimetype="text/plain" + downloaded_file_name, mimetype="text/plain", remove_bom=True ) ) downloaded_string = open(downloaded_file_name).read()