[pytest-dev] -k EXPRESSION: How to allow for case-insensitive matching

Brian Okken variedthoughts at gmail.com
Wed Dec 4 09:55:25 EST 2019


I think switching to case insensitive by default would be fine. Do we need a flag for case sensitive? Not sure. 

- Brian

> On Dec 4, 2019, at 6:26 AM, Florian Bruhin <me at the-compiler.org> wrote:
> 
> Hey,
> 
>> On Wed, Dec 04, 2019 at 10:58:09AM -0300, Bruno Oliveira wrote:
>> I would actually vote to change the existing behavior to be
>> case-insensitive. I doubt it would break many suites, if at all, and would
>> be more in alignment with the intent of the option, more of it being a
>> "partial match" than an exact match, as it matches against any portion of
>> the node id currently anyway.
> 
> Sounds entirely reasonable to me!
> 
> Florian
> 
> -- 
> me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
>       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
>       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>             I love long mails! | https://email.is-not-s.ms/
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev


More information about the pytest-dev mailing list