summaryrefslogtreecommitdiff
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
parent54aa1ce6deb1b2505b8ab2ce4c9ecc5899466b2d (diff)
Update tests for new autocomplete behavior
-rw-r--r--tests/cmdline/repl_autocomplete.py3
-rw-r--r--tests/cmdline/repl_autocomplete.py.exp5
-rw-r--r--tests/unix/extra_coverage.py.exp10
3 files changed, 13 insertions, 5 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.
>>>
diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp
index 9df852757..06b5d3790 100644
--- a/tests/unix/extra_coverage.py.exp
+++ b/tests/unix/extra_coverage.py.exp
@@ -27,11 +27,11 @@ RuntimeError:
# repl
ame__
-__class__ __name__ argv byteorder
-exc_info exit getsizeof implementation
-maxsize modules path platform
-print_exception stderr stdin
-stdout version version_info
+argv byteorder exc_info exit
+getsizeof implementation maxsize modules
+path platform print_exception
+stderr stdin stdout version
+version_info
ementation
# attrtuple
(start=1, stop=2, step=3)