Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:zSystems
python-pytest-django
autoclear_mailbox.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File autoclear_mailbox.patch of Package python-pytest-django
--- pytest_django/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/pytest_django/plugin.py +++ b/pytest_django/plugin.py @@ -502,7 +502,8 @@ def _dj_autoclear_mailbox() -> None: from django.core import mail - del mail.outbox[:] + if hasattr(mail, "outbox"): + del mail.outbox[:] @pytest.fixture(scope="function")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor