mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a3eae0b6f0
commit
532aee926c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user