requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-11-18 16:49:34 -08:00
committed by Tim Abbott
parent a3eae0b6f0
commit 532aee926c
15 changed files with 1312 additions and 1335 deletions

View File

@@ -264,7 +264,7 @@ def reset_email_visibility_to_everyone_in_zulip_realm() -> None:
def get_test_image_file(filename: str) -> IO[bytes]:
test_avatar_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../tests/images"))
return open(os.path.join(test_avatar_dir, filename), "rb") # noqa: SIM115
return open(os.path.join(test_avatar_dir, filename), "rb")
def read_test_image_file(filename: str) -> bytes: