From c98b5a9369e863d56cf4f919445ca6d743369530 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 8 May 2025 00:20:17 +0200 Subject: [PATCH] [3.14] gh-133558: Skip test_pdb tests on FreeBSD (GH-133566) (#133616) gh-133558: Skip test_pdb tests on FreeBSD (GH-133566) '\x08' is not interpreted as backspace on FreeBSD. (cherry picked from commit 79b8a32fcb30b2c6549bacecdc7081ebd50d6e17) Co-authored-by: Victor Stinner --- Lib/test/test_pdb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py index 54797d7898ff..68c2b508fa64 100644 --- a/Lib/test/test_pdb.py +++ b/Lib/test/test_pdb.py @@ -4848,6 +4848,8 @@ class PdbTestReadline(unittest.TestCase): self.assertIn(b'I love Python', output) + @unittest.skipIf(sys.platform.startswith('freebsd'), + '\\x08 is not interpreted as backspace on FreeBSD') def test_multiline_auto_indent(self): script = textwrap.dedent(""" import pdb; pdb.Pdb().set_trace() @@ -4886,6 +4888,8 @@ class PdbTestReadline(unittest.TestCase): self.assertIn(b'42', output) + @unittest.skipIf(sys.platform.startswith('freebsd'), + '\\x08 is not interpreted as backspace on FreeBSD') def test_multiline_indent_completion(self): script = textwrap.dedent(""" import pdb; pdb.Pdb().set_trace() -- 2.47.3