Add an else condition to correct StubbedMock
behavior
#2116
linting.yml
on: pull_request
Yamllint
17s
Mdformat
32s