diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1f9b8e387..f8d164644 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -36,6 +36,7 @@ Florian Bruhin Florian Preinstorfer Florian Schulze George Alton +Gleb Nikonorov Gonéri Le Bouder Hazal Ozturk Henk-Jaap Wagenaar diff --git a/docs/changelog/1534.doc.rst b/docs/changelog/1534.doc.rst new file mode 100644 index 000000000..13bf95e56 --- /dev/null +++ b/docs/changelog/1534.doc.rst @@ -0,0 +1 @@ +Document that the ``passenv`` environment setting is case insensitive. - by :user:`gnikonorov` diff --git a/docs/config.rst b/docs/config.rst index 9986fa039..a8db1d58f 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -421,7 +421,9 @@ Complete list of settings that you can put into ``testenv*`` sections: environment when executing test commands. If a specified environment variable doesn't exist in the tox invocation environment it is ignored. You can use ``*`` and ``?`` to match multiple environment variables with - one name. + one name. The list of environment variable names is not case sensitive, and + all variables that match when upper cased will be passed. For example, passing + ``A`` will pass both ``A`` and ``a``. Some variables are always passed through to ensure the basic functionality of standard library functions or tooling like pip: