Skip to content

Python: Allow camelCase test methods in patterns#880

Merged
codeinabox merged 1 commit intovim-test:masterfrom
PsickOSSH:python-allow-camelcase-tests
Feb 3, 2026
Merged

Python: Allow camelCase test methods in patterns#880
codeinabox merged 1 commit intovim-test:masterfrom
PsickOSSH:python-allow-camelcase-tests

Conversation

@PsickOSSH
Copy link
Copy Markdown
Contributor

Relaxes the Python test regex from test_\w+ to test\w+.

This change allows :TestNearest to detect camelCase test methods, which are valid in unittest and used in projects like Python-Markdown, while preserving support for standard snake_case.

Copy link
Copy Markdown
Collaborator

@codeinabox codeinabox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted!

@codeinabox codeinabox merged commit c174652 into vim-test:master Feb 3, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants