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

Appearance settings

Commit ddd67d5

Browse filesBrowse files
Improve comments
1 parent ae64318 commit ddd67d5
Copy full SHA for ddd67d5

File tree

1 file changed

+2
-17
lines changed
Filter options

1 file changed

+2
-17
lines changed

‎Lib/test/test_pdb.py

Copy file name to clipboardExpand all lines: Lib/test/test_pdb.py
+2-17Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3252,6 +3252,8 @@ def test_basic_completion(self):
32523252
print('hello')
32533253
""")
32543254

3255+
# List everything starting with 'co', there should be multiple matches
3256+
# then add ntin and complete 'contin' to 'continue'
32553257
input = b"co\t\tntin\t\n"
32563258

32573259
output = run_pty(script, input)
@@ -3260,23 +3262,6 @@ def test_basic_completion(self):
32603262
self.assertIn(b'condition', output)
32613263
self.assertIn(b'continue', output)
32623264

3263-
def test_expression_completion(self):
3264-
script = textwrap.dedent("""
3265-
value = "speci"
3266-
import pdb; pdb.Pdb().set_trace()
3267-
""")
3268-
3269-
input = b"val\t + 'al'\n"
3270-
input += b"p val\t + 'es'\n"
3271-
input += b"$_fra\t\n"
3272-
input += b"c\n"
3273-
3274-
output = run_pty(script, input)
3275-
3276-
self.assertIn(b'special', output)
3277-
self.assertIn(b'species', output)
3278-
self.assertIn(b'$_frame', output)
3279-
32803265

32813266
def load_tests(loader, tests, pattern):
32823267
from test import test_pdb

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.