diff --git a/tests/cmdline/repl_autocomplete_underscore.py b/tests/cmdline/repl_autocomplete_underscore.py index 98bbb69920..a0ad4aadf0 100644 --- a/tests/cmdline/repl_autocomplete_underscore.py +++ b/tests/cmdline/repl_autocomplete_underscore.py @@ -7,21 +7,20 @@ class TestClass: self.public_attr = 1 self._private_attr = 2 self.__very_private = 3 - + def public_method(self): pass - + def _private_method(self): pass - + @property def public_property(self): return 42 - - @property + + @property def _private_property(self): return 99 - {\x04} # Paste executed diff --git a/tests/cmdline/repl_autocomplete_underscore.py.exp b/tests/cmdline/repl_autocomplete_underscore.py.exp index 43d9c24d8e..f2d3a44c9a 100644 --- a/tests/cmdline/repl_autocomplete_underscore.py.exp +++ b/tests/cmdline/repl_autocomplete_underscore.py.exp @@ -11,22 +11,21 @@ paste mode; Ctrl-C to cancel, Ctrl-D to finish === self.public_attr = 1 === self._private_attr = 2 === self.__very_private = 3 -=== \$ +=== \$ === def public_method(self): === pass -=== \$ +=== \$ === def _private_method(self): === pass -=== \$ +=== \$ === @property === def public_property(self): === return 42 -=== \$ -=== @property \$ +=== \$ +=== @property === def _private_property(self): === return 99 === \$ -=== \$ >>> # Paste executed >>> \$ >>> # Create an instance