Skip to content

Commit 5a1755b

Browse files
committed
Fix tests to match new _connect signature for protocol versioning/commands
1 parent 0601f10 commit 5a1755b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Lib/test/test_remote_pdb.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,13 @@ def dummy_function():
264264
x = 42
265265
# Call connect to establish connection with the test server
266266
frame = sys._getframe() # Get the current frame
267-
pdb._connect('127.0.0.1', {self.port}, frame)
267+
pdb._connect(
268+
host='127.0.0.1',
269+
port={self.port},
270+
frame=frame,
271+
commands="",
272+
version=pdb._RemotePdb.protocol_version(),
273+
)
268274
return x # This line should not be reached in debugging
269275
270276
return dummy_function()

0 commit comments

Comments
 (0)