Skip to content

Commit

Permalink
[3.13] gh-123228: don't leak file descriptors in pyrepl test (GH-123302
Browse files Browse the repository at this point in the history
…) (#123313)
  • Loading branch information
miss-islington authored Aug 25, 2024
1 parent 311deda commit 3b7e5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_pyrepl/test_pyrepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3b7e5b6

Please sign in to comment.