Skip to content

Commit 02341a8

Browse files
committed
without …
1 parent f9a1309 commit 02341a8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/test/test_external_inspection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3872,7 +3872,7 @@ def test_long_qualname_truncated_not_dropped(self):
38723872
p.pid, lambda f: f.funcname.startswith("fff")
38733873
)
38743874
self.assertEqual(
3875-
frame.funcname, "f" * 1024 + "(len=1100)"
3875+
frame.funcname, "f" * 1024 + "(len=1100)"
38763876
)
38773877

38783878
def test_long_filename_truncated(self):
@@ -3892,7 +3892,7 @@ def test_long_filename_truncated(self):
38923892
p.pid, lambda f: f.funcname == "g"
38933893
)
38943894
self.assertEqual(
3895-
frame.filename, "x" * 1024 + "(len=1503)"
3895+
frame.filename, "x" * 1024 + "(len=1503)"
38963896
)
38973897

38983898
def test_large_linetable_keeps_line_numbers(self):

Modules/_remote_debugging/object_reading.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ read_py_str(
152152

153153
if (truncated) {
154154
PyObject *truncated_result = PyUnicode_FromFormat(
155-
"%U%c(len=%zd)", result, 0x2026, len);
155+
"%U(len=%zd)", result, len);
156156
Py_DECREF(result);
157157
if (truncated_result == NULL) {
158158
set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to append truncation marker to remote string");

0 commit comments

Comments
 (0)