Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit758e62f

Browse files
committed
gh-132950: Skip test_remote_pdb if remote exec is disabled
Skip test_keyboard_interrupt() if remote execution is disabled.
1 parent17718b0 commit758e62f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Lib/test/test_remote_pdb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,8 @@ def test_breakpoints(self):
463463
self.assertIn("Function returned: 42",stdout)
464464
self.assertEqual(process.returncode,0)
465465

466+
@unittest.skipUnless(sys.is_remote_debug_enabled(),
467+
'remote debugging is disabled')
466468
deftest_keyboard_interrupt(self):
467469
"""Test that sending keyboard interrupt breaks into pdb."""
468470
synchronizer_sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp