From 3c79be645026884cefe63ab06eacf0f7aa484b26 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 7 Dec 2025 15:30:06 -0500 Subject: [PATCH] Link GH issue to test. --- Lib/test/test_pdb.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index c87162de57f0..f4c870036a7a 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -3652,6 +3652,11 @@ def bœr(): self.assertIn('None', stdout) def test_script_target_anonymous_pipe(self): + """ + _ScriptTarget doesn't fail on an anonymous pipe. + + GH-142315 + """ fd_dir = self._fd_dir_for_pipe_targets() if fd_dir is None: self.skipTest('anonymous pipe targets require /proc/self/fd or /dev/fd') -- 2.47.3