Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-pytest-verbose-parametrize
pytest-fixtures-pr171-remove-mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pytest-fixtures-pr171-remove-mock.patch of Package python-pytest-verbose-parametrize
diff --git a/pytest-verbose-parametrize/tests/unit/test_verbose_parametrize.py b/pytest-verbose-parametrize/tests/unit/test_verbose_parametrize.py index fcce01d..bba9aa6 100644 --- pytest-verbose-parametrize/tests/unit/test_verbose_parametrize.py +++ pytest-verbose-parametrize.patched/tests/unit/test_verbose_parametrize.py @@ -1,5 +1,8 @@ # -*- coding: utf-8 -*- -from mock import Mock +try: + from unittest.mock import Mock +except ImportError: + from mock import Mock from pytest_verbose_parametrize import pytest_generate_tests
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