-
-
Notifications
You must be signed in to change notification settings - Fork 9k
tests/**/*.py.exp: protect trailing spaces with \$
#19073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
dhalbert
wants to merge
9
commits into
micropython:master
from
dhalbert:protect-py-exp-trailing-spaces
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
06ab241
tests: Protect trailing spaces with "\$".
dhalbert 0e1dd3c
tests/cmdline/repl_autocomplete_underscore: Remove trailing spaces.
dhalbert 3c5e2d9
tests/run-tests.py: Fix hex parsing of {\xnn} escapes; codespell.
dhalbert 0061003
tests: Remove trailing spaces as possible.
dhalbert d9294ad
tests: Fix remaining trailing space issues.
dhalbert df48784
tests/run-tests.py: Fix .native.exp check.
dhalbert 9b50090
tests/ports/esp32/check_err_str.py: Remove superfluous comment.
dhalbert d598019
tests/run-tests.py: Fix .native.exp check.
dhalbert 2f9da6e
tests/ports/esp32/check_err_str.py.exp: Update to "exc: OSError()".
dhalbert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,4 +11,4 @@ Type "help()" for more information. | |
| >>> i.lower('ABC') | ||
| 'abc' | ||
| >>> None.[K[K[K[K[K | ||
| >>> | ||
| >>> \$ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,41 +1,40 @@ | ||
| MicroPython \.\+ version | ||
| Type "help()" for more information. | ||
| >>> # Test REPL autocompletion filtering of underscore attributes | ||
| >>> | ||
| >>> \$ | ||
| >>> # Start paste mode | ||
| >>> | ||
| >>> \$ | ||
| paste mode; Ctrl-C to cancel, Ctrl-D to finish | ||
| === | ||
| === \$ | ||
| === class TestClass: | ||
| === def __init__(self): | ||
| === 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 | ||
| >>> obj = TestClass() | ||
| >>> | ||
| >>> \$ | ||
| >>> # Test tab completion on the instance | ||
| >>> # The tab character after `obj.` and 'a' below triggers the completions | ||
| >>> obj.public_ | ||
| public_attr public_method public_property | ||
| >>> obj.public_attr | ||
| 1 | ||
| >>> | ||
| >>> \$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,4 +7,4 @@ Type "help()" for more information. | |
| 1 | ||
| >>> 2 | ||
| 2 | ||
| >>> | ||
| >>> \$ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,4 +54,4 @@ two | |
| >>> if1 = 2 | ||
| >>> print(if1) | ||
| 2 | ||
| >>> | ||
| >>> \$ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,4 +16,4 @@ Type "help()" for more information. | |
| >>> t = 121 | ||
| >>> \.\+ | ||
| 'foobar' | ||
| >>> | ||
| >>> \$ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.