Skip to content

Commit 79b8a32

Browse files
authored
gh-133558: Skip test_pdb tests on FreeBSD (#133566)
'\x08' is not interpreted as backspace on FreeBSD.
1 parent 14291fa commit 79b8a32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_pdb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4848,6 +4848,8 @@ def f():
48484848

48494849
self.assertIn(b'I love Python', output)
48504850

4851+
@unittest.skipIf(sys.platform.startswith('freebsd'),
4852+
'\\x08 is not interpreted as backspace on FreeBSD')
48514853
def test_multiline_auto_indent(self):
48524854
script = textwrap.dedent("""
48534855
import pdb; pdb.Pdb().set_trace()
@@ -4886,6 +4888,8 @@ def test_multiline_completion(self):
48864888

48874889
self.assertIn(b'42', output)
48884890

4891+
@unittest.skipIf(sys.platform.startswith('freebsd'),
4892+
'\\x08 is not interpreted as backspace on FreeBSD')
48894893
def test_multiline_indent_completion(self):
48904894
script = textwrap.dedent("""
48914895
import pdb; pdb.Pdb().set_trace()

0 commit comments

Comments
 (0)