From 3b7e5b640f4d5e70c7ac88375f729c1b2ce833c0 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:17:45 +0200 Subject: [PATCH] [3.13] gh-123228: don't leak file descriptors in pyrepl test (GH-123302) (#123313) --- Lib/test/test_pyrepl/test_pyrepl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pyrepl/test_pyrepl.py b/Lib/test/test_pyrepl/test_pyrepl.py index 58078d6ff11b39..012ce7c5a6ba19 100644 --- a/Lib/test/test_pyrepl/test_pyrepl.py +++ b/Lib/test/test_pyrepl/test_pyrepl.py @@ -519,7 +519,7 @@ def test_basic(self): def test_get_line_buffer_returns_str(self): reader = self.prepare_reader(code_to_events("\n")) - wrapper = _ReadlineWrapper(reader=reader) + wrapper = _ReadlineWrapper(f_in=None, f_out=None, reader=reader) self.assertIs(type(wrapper.get_line_buffer()), str) def test_multiline_edit(self):