test_account.py: fix syntax error on python 3.5

It was introduced in 553d3936a9
This commit is contained in:
link2xt
2021-04-21 02:49:09 +03:00
parent 34ffa4e7ea
commit 75999c5d5a

View File

@@ -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):