Skip to content

Commit e08752c

Browse files
committed
comment out skipped methods and add autocomplete mode to docs
1 parent 02fae6f commit e08752c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bpython/test/test_repl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ def test_append(self):
9696

9797
self.assertEqual(self.history.back(), 'print "foo\n"')
9898

99-
@unittest.skip("currently fails")
10099
def test_enter(self):
101100
self.history.enter('#lastnumber!')
102101

@@ -210,7 +209,6 @@ def test_lambda_position(self):
210209
# Argument position
211210
self.assertEqual(self.repl.argspec[3], 1)
212211

213-
@unittest.skip('currently fails')
214212
def test_name_in_assignment_without_spaces(self):
215213
# Issue #127
216214
self.setInputLine("x=range(")

doc/sphinx/source/configuration.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ auto_display_list
2020
Display the autocomplete list as you type (default: True).
2121
When this is off, you can hit tab to see the suggestions.
2222

23+
autocomplete_mode
24+
^^^^^^^^^^^^^^^^^
25+
There are three modes for autocomplete. Simple (1), Substring (2), and Fuzzy (3).
26+
Simple matches methods with a common prefix, substring matches methods with a common
27+
subsequence, and fuzzy matches methods with common characters (default: 2).
28+
2329
syntax
2430
^^^^^^
2531
Syntax highlighting as you type (default: True).

0 commit comments

Comments
 (0)