From 75999c5d5a60acc60ab15a0653e2b5ca6e0ddb04 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 21 Apr 2021 02:49:09 +0300 Subject: [PATCH] test_account.py: fix syntax error on python 3.5 It was introduced in 553d3936a9dccf17d79b3004c12dc48686b9021f --- python/tests/test_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_account.py b/python/tests/test_account.py index 383bfe555..8ed394f06 100644 --- a/python/tests/test_account.py +++ b/python/tests/test_account.py @@ -1575,7 +1575,7 @@ class TestOnlineAccount: # Add another 100KB file that ensures that the progress is smooth enough path = tmpdir.join("attachment.txt") with open(path, "w") as file: - file.truncate(100_000) + file.truncate(100000) chat1.send_file(path.strpath) def assert_account_is_proper(ac):