From: Victor Stinner Date: Wed, 7 May 2025 20:59:29 +0000 (+0200) Subject: gh-133558: Skip test_pdb tests on FreeBSD (#133566) X-Git-Tag: v3.15.0a1~1853 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79b8a32fcb30b2c6549bacecdc7081ebd50d6e17;p=thirdparty%2FPython%2Fcpython.git gh-133558: Skip test_pdb tests on FreeBSD (#133566) '\x08' is not interpreted as backspace on FreeBSD. --- 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()