mirror of
https://github.com/micropython/micropython.git
synced 2026-04-30 21:00:12 +02:00
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:
committed by
Damien George
parent
6b97759d25
commit
fa17886b63
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user