mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
python: Replace universal_newlines with text.
This is supported in Python ≥ 3.7. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
fd6d048efd
commit
97e4e9886c
@@ -20,7 +20,7 @@ def test_js_bindings(client: Client) -> None:
|
||||
|
||||
output = subprocess.check_output(
|
||||
args=["node", "--unhandled-rejections=strict", "zerver/openapi/javascript_examples.js"],
|
||||
universal_newlines=True,
|
||||
text=True,
|
||||
)
|
||||
endpoint_responses = json.loads(output)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user