https://github.com/python/cpython/commit/79b8a32fcb30b2c6549bacecdc7081ebd50d6e17
commit: 79b8a32fcb30b2c6549bacecdc7081ebd50d6e17
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-05-07T22:59:29+02:00
summary:
gh-133558: Skip test_pdb tests on FreeBSD (#133566)
'\x08' is not interpreted as backspace on FreeBSD.
files:
M Lib/test/test_pdb.py
diff --git a/Lib/test/test_pdb.py b/Lib/test/test_pdb.py
index 54797d7898ff33..68c2b508fa64dc 100644
--- a/Lib/test/test_pdb.py
+++ b/Lib/test/test_pdb.py
@@ -4848,6 +4848,8 @@ def f():
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 @@ def test_multiline_completion(self):
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()
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]