Skip to content

tests: clean up Python test code - #23290

Closed
dfandrich wants to merge 1 commit into
masterfrom
dfandrich/pycleanup
Closed

dfandrich wants to merge 1 commit into
masterfrom
dfandrich/pycleanup

Conversation

@dfandrich

Copy link
Copy Markdown
Contributor
  • stop shadowing Python built-in names for variables
  • remove redundant len() calls
  • indent consistently
  • alphabetize indent order
  • use one line instead of four in conditional assigments
  • remove a redundant exception
  • remove redundant parenthesis

Closes #23290

- stop shadowing Python built-in names for variables
- remove redundant len() calls
- indent consistently
- alphabetize indent order
- use one line instead of four in conditional assigments
- remove a redundant exception
- remove redundant parenthesis

Closes #23290
@github-actions github-actions Bot added the tests label Oct 6, 2026
@dfandrich dfandrich closed this in e90bb2f Oct 7, 2026
@dfandrich
dfandrich deleted the dfandrich/pycleanup branch October 7, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant