https://github.com/python/cpython/commit/3b7e5b640f4d5e70c7ac88375f729c1b2ce833c0
commit: 3b7e5b640f4d5e70c7ac88375f729c1b2ce833c0
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: pablogsal <[email protected]>
date: 2024-08-25T15:17:45Z
summary:

[3.13] gh-123228: don't leak file descriptors in pyrepl test (GH-123302) 
(#123313)

files:
M Lib/test/test_pyrepl/test_pyrepl.py

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):

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to