gh-133558: Skip test_pdb tests on FreeBSD (#133566)

'\x08' is not interpreted as backspace on FreeBSD.
This commit is contained in:
Victor Stinner 2025-05-07 22:59:29 +02:00 committed by GitHub
parent 14291faa52
commit 79b8a32fcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()