tests/cmdline/repl_autocomplete_underscore.py: Remove trailing spaces.

They are not needed for this test to function as intended.

Signed-off-by: Dan Halbert <halbert@halwitz.org>
This commit is contained in:
Dan Halbert
2026-04-13 10:11:48 -04:00
committed by Damien George
parent 6b97759d25
commit fa17886b63
2 changed files with 10 additions and 12 deletions
@@ -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
@@ -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