Added test for issue #1169
Added test for issue #1169

(I undid my fix, checked for failure, redid my fix and it passes)

lukas-bednar/pytest,RonnyPfannschmidt/pytest,pfctdayelise/pytest,JonathonSonesen/pytest,userzimmermann/pytest,omarkohl/pytest,vodik/pytest,hpk42/pytest,Bachmann1234/pytest,markshao/pytest,Akasurde/pytest,hackebrot/pytest,tomviner/pytest,rmfitzpatrick/pytest,Bachmann1234/pytest,flub/pytest,tgoodlet/pytest,eli-b/pytest,MengJueM/pytest,nicoddemus/pytest,hpk42/pytest,The-Compiler/pytest,pytest-dev/pytest,tomviner/pytest,lukas-bednar/pytest,MichaelAquilina/pytest,ddboline/pytest,omarkohl/pytest,vmalloc/dessert,etataurov/pytest,MengJueM/pytest,txomon/pytest,ropez/pytest,davidszotten/pytest,jaraco/pytest,alfredodeza/pytest,tareqalayan/pytest,userzimmermann/pytest,skylarjhdownes/pytest,vodik/pytest,ropez/pytest,The-Compiler/pytest,nicoddemus/pytest,malinoff/pytest,JonathonSonesen/pytest