mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-17 22:15:17 +03:00
https://github.com/aws/aws-cli Universal Command Line Interface for Amazon Web Services (v2) closes #14379
17 lines
625 B
Diff
17 lines
625 B
Diff
Patch-Source: https://github.com/archlinux/svntogit-community/blob/a7f15313fbf1bd4434b6b0a05cf87ec36047ed52/trunk/prompt-toolkit-3.0.29.diff
|
|
diff --git a/tests/conftest.py b/tests/conftest.py
|
|
index 4bd573144..8a9e1530b 100644
|
|
--- a/tests/conftest.py
|
|
+++ b/tests/conftest.py
|
|
@@ -40,10 +40,7 @@ def clear_loggers():
|
|
|
|
@pytest.fixture
|
|
def ptk_app_session():
|
|
- pipe_input = create_pipe_input()
|
|
output = DummyOutput()
|
|
- try:
|
|
+ with create_pipe_input() as pipe_input:
|
|
with create_app_session(input=pipe_input, output=output) as session:
|
|
yield session
|
|
- finally:
|
|
- pipe_input.close()
|