Add explicit argument name of 'mode' to the open statement.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-31 16:53:48 -04:00
parent 5a8455bfc2
commit 9fc7c4fc09
11 changed files with 33 additions and 33 deletions

View File

@@ -207,7 +207,7 @@ class SmartLinkConditionAPITestCase(BaseAPITestCase):
)
def _create_document(self):
with open(TEST_SMALL_DOCUMENT_PATH, 'rb') as file_object:
with open(TEST_SMALL_DOCUMENT_PATH, mode='rb') as file_object:
self.document = self.document_type.new_document(
file_object=file_object
)