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

This commit is contained in:
Miss Islington (bot) 2024-08-25 17:17:45 +02:00 committed by GitHub
parent 311dedadf6
commit 3b7e5b640f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ class TestPyReplOutput(TestCase):
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):