Restrict fix to macOS only. Ref #3215.
Restrict fix to macOS only. Ref #3215.

ddboline/pytest,nicoddemus/pytest,The-Compiler/pytest,markshao/pytest,The-Compiler/pytest,pfctdayelise/pytest,nicoddemus/pytest,tomviner/pytest,pytest-dev/pytest,Akasurde/pytest,alfredodeza/pytest,tareqalayan/pytest,hackebrot/pytest,davidszotten/pytest,RonnyPfannschmidt/pytest,txomon/pytest,tomviner/pytest