From 77f177be9c52deea63de544701fa476239249dcd Mon Sep 17 00:00:00 2001 From: Kathryn Lingel Date: Mon, 6 May 2019 14:19:07 -0700 Subject: [PATCH] Update tests for new autocomplete behavior --- tests/cmdline/repl_autocomplete.py | 3 +++ tests/cmdline/repl_autocomplete.py.exp | 5 +++++ tests/unix/extra_coverage.py.exp | 10 +++++----- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/tests/cmdline/repl_autocomplete.py b/tests/cmdline/repl_autocomplete.py index 27cad428f7..fe8e8fc511 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 75002985e3..f8c5fb45a7 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__ + >>> None. >>> diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp index 9df8527577..06b5d37903 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)