Skip to content

Commit a905b77

Browse files
committed
Fix type name
1 parent 6b8c049 commit a905b77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bpython/test/test_autocomplete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def test_magic_methods_complete_after_double_underscores(self):
326326
)
327327

328328

329-
Comp = namedtuple("Completion", ["name", "complete"])
329+
Completion = namedtuple("Completion", ["name", "complete"])
330330

331331

332332
@unittest.skipUnless(has_jedi, "jedi required")
@@ -363,7 +363,7 @@ def test_completions_starting_with_different_letters(self):
363363
" a",
364364
"class Foo:\n a",
365365
["adsf"],
366-
[Comp("Abc", "bc"), Comp("Cbc", "bc")],
366+
[Completion("Abc", "bc"), Completion("Cbc", "bc")],
367367
)
368368
self.assertEqual(matches, None)
369369

@@ -373,7 +373,7 @@ def test_completions_starting_with_different_cases(self):
373373
" a",
374374
"class Foo:\n a",
375375
["adsf"],
376-
[Comp("Abc", "bc"), Comp("ade", "de")],
376+
[Completion("Abc", "bc"), Completion("ade", "de")],
377377
)
378378
self.assertSetEqual(matches, {"ade"})
379379

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy