8000 [3.14] gh-133558: Skip test_pdb tests on FreeBSD (GH-133566) (#133616) · python/cpython@c98b5a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c98b5a9

Browse files
[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 79b8a32) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent cc588aa commit c98b5a9

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)
0