Skip to content

Commit f06d9c2

Browse files
committed
Two small things missed in the previous fixes
1 parent ac36d7d commit f06d9c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/test/test_remote_pdb.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import subprocess
77
import sys
88
import tempfile
9+
import textwrap
910
import threading
1011
import unittest
1112
import unittest.mock
@@ -16,7 +17,7 @@
1617
from typing import Dict, List, Optional, Tuple, Union, Any
1718

1819
import pdb
19-
from pdb import _PdbServer, _PdbClient, _InteractState
20+
from pdb import _PdbServer, _PdbClient
2021

2122

2223
class MockSocketFile:
@@ -158,7 +159,7 @@ def test_interact_mode(self):
158159

159160
# Verify _interact_state is properly initialized
160161
self.assertIsNotNone(self.pdb._interact_state)
161-
self.assertIsInstance(self.pdb._interact_state, _InteractState)
162+
self.assertIsInstance(self.pdb._interact_state, dict)
162163

163164
# Test running code in interact mode
164165
with unittest.mock.patch.object(self.pdb, '_error_exc') as mock_error:

0 commit comments

Comments
 (0)