Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Jan 30, 2022
1 parent d6f8330 commit 204c5bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exchangelib/folders/known_folders.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Outbox(Messages):
"de_DE": ("Postausgang",),
"en_US": ("Outbox",),
"es_ES": ("Bandeja de salida",),
"fr_CA": (u"Boîte d'envoi",),
"fr_CA": ("Boîte d'envoi",),
"nl_NL": ("Postvak UIT",),
"ru_RU": ("Исходящие",),
"sv_SE": ("Utkorgen",),
Expand Down
2 changes: 1 addition & 1 deletion tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def get_random_int(min_val=0, max_val=2147483647):

def get_random_decimal(min_val=0, max_val=100):
precision = 2
val = get_random_int(min_val, max_val * 10 ** precision) / 10.0 ** precision
val = get_random_int(min_val, max_val * 10**precision) / 10.0**precision
return Decimal(f"{val:.2f}")


Expand Down
2 changes: 1 addition & 1 deletion tests/test_attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_file_attachments(self):

def test_streaming_file_attachments(self):
item = self.get_test_item(folder=self.test_folder)
large_binary_file_content = get_random_string(2 ** 10).encode("utf-8")
large_binary_file_content = get_random_string(2**10).encode("utf-8")
large_att = FileAttachment(name="my_large_file.txt", content=large_binary_file_content)
item.attach(large_att)
item.save()
Expand Down

0 comments on commit 204c5bf

Please sign in to comment.