Skip to content

Commit c295209

Browse files
committed
Fix warnings
1 parent a01bd24 commit c295209

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_external_inspection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,12 +2819,12 @@ def foo2():
28192819
for i in range(4):
28202820
# Extract first message from buffer
28212821
msg, sep, buffer = buffer.partition(b"\n")
2822-
self.assertIn(msg, dispatch, f"Unexpected message: {msg}")
2822+
self.assertIn(msg, dispatch, f"Unexpected message: {msg!r}")
28232823

28242824
# Sample frames for the thread at this sync point
28252825
required_funcs = dispatch[msg]
28262826
frames = self._get_frames_with_retry(unwinder, required_funcs)
2827-
self.assertIsNotNone(frames, f"Thread not found for {msg}")
2827+
self.assertIsNotNone(frames, f"Thread not found for {msg!r}")
28282828
results[msg] = [f.funcname for f in frames]
28292829

28302830
# Release thread and wait for next message (if not last)

0 commit comments

Comments
 (0)