Skip to content

Commit 77f177b

Browse files
committed
Update tests for new autocomplete behavior
1 parent 54aa1ce commit 77f177b

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

tests/cmdline/repl_autocomplete.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
1, x.isdi ()
77
i = str
88
i.lowe ('ABC')
9+
x = 5
10+
x.
11+
x._
912
None. 

tests/cmdline/repl_autocomplete.py.exp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ Use \.\+
1010
>>> i = str
1111
>>> i.lower('ABC')
1212
'abc'
13+
>>> x = 5
14+
>>> x.
15+
from_bytes to_bytes
16+
>>> x.__class__
17+
<class 'int'>
1318
>>> None.
1419
>>>

tests/unix/extra_coverage.py.exp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ RuntimeError:
2727
# repl
2828
ame__
2929

30-
__class__ __name__ argv byteorder
31-
exc_info exit getsizeof implementation
32-
maxsize modules path platform
33-
print_exception stderr stdin
34-
stdout version version_info
30+
argv byteorder exc_info exit
31+
getsizeof implementation maxsize modules
32+
path platform print_exception
33+
stderr stdin stdout version
34+
version_info
3535
ementation
3636
# attrtuple
3737
(start=1, stop=2, step=3)

0 commit comments

Comments
 (0)