Skip to content
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

PR for #3766: Clean unit tests & fix a crash in leoTokens.py #3774

Merged
merged 18 commits into from
Feb 1, 2024

Conversation

edreamleo
Copy link
Member

@edreamleo edreamleo commented Feb 1, 2024

See #3766.

  • Remove most calls to textwrap.dedent.
  • Remove most backslash-newline combinations in the testing infrastructure.
    Use lstrip() or strip() + '\n' instead.
  • Beautify all files in leo/unittests except py3_test_grammar.py.

Extra

  • Fix a crash leoTokens.py.

@edreamleo edreamleo added the Code Re Leo's code label Feb 1, 2024
@edreamleo edreamleo added this to the 6.7.8 milestone Feb 1, 2024
@edreamleo edreamleo self-assigned this Feb 1, 2024
@edreamleo edreamleo marked this pull request as draft February 1, 2024 15:51
@edreamleo edreamleo mentioned this pull request Feb 1, 2024
@edreamleo edreamleo changed the title PR for #3766: remove most calls to textwrap.dedent PR for #3766: Clean unit test files Feb 1, 2024
@edreamleo edreamleo marked this pull request as ready for review February 1, 2024 23:22
@edreamleo edreamleo merged commit fb38e0c into devel Feb 1, 2024
@edreamleo edreamleo changed the title PR for #3766: Clean unit test files PR for #3766: Clean unit test & fix a crash in leoTokens.py Feb 2, 2024
@edreamleo edreamleo changed the title PR for #3766: Clean unit test & fix a crash in leoTokens.py PR for #3766: Clean unit tests & fix a crash in leoTokens.py Feb 2, 2024
@edreamleo edreamleo deleted the ekr-3766-remove-dedent branch February 6, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Re Leo's code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant