summaryrefslogtreecommitdiff
path: root/tests/cmdline
diff options
context:
space:
mode:
authorKathryn Lingel <kathryn@lingel.net>2019-05-06 14:19:07 -0700
committerKathryn Lingel <kathryn@lingel.net>2019-05-06 14:19:07 -0700
commit77f177be9c52deea63de544701fa476239249dcd (patch)
treecd57d26fe66ec01c673b89fc27db3b943a0f54e9 /tests/cmdline
parent54aa1ce6deb1b2505b8ab2ce4c9ecc5899466b2d (diff)
Update tests for new autocomplete behavior
Diffstat (limited to 'tests/cmdline')
-rw-r--r--tests/cmdline/repl_autocomplete.py3
-rw-r--r--tests/cmdline/repl_autocomplete.py.exp5
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/cmdline/repl_autocomplete.py b/tests/cmdline/repl_autocomplete.py
index 27cad428f..fe8e8fc51 100644
--- a/tests/cmdline/repl_autocomplete.py
+++ b/tests/cmdline/repl_autocomplete.py
@@ -6,4 +6,7 @@ x = '123'
1, x.isdi ()
i = str
i.lowe ('ABC')
+x = 5
+x.
+x._
None. 
diff --git a/tests/cmdline/repl_autocomplete.py.exp b/tests/cmdline/repl_autocomplete.py.exp
index 75002985e..f8c5fb45a 100644
--- a/tests/cmdline/repl_autocomplete.py.exp
+++ b/tests/cmdline/repl_autocomplete.py.exp
@@ -10,5 +10,10 @@ Use \.\+
>>> i = str
>>> i.lower('ABC')
'abc'
+>>> x = 5
+>>> x.
+from_bytes to_bytes
+>>> x.__class__
+<class 'int'>
>>> None.
>>>