Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-fixtures
handle-no-external-mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File handle-no-external-mock.patch of Package python-fixtures
Index: fixtures-4.0.0/fixtures/tests/_fixtures/test_mockpatch.py =================================================================== --- fixtures-4.0.0.orig/fixtures/tests/_fixtures/test_mockpatch.py +++ fixtures-4.0.0/fixtures/tests/_fixtures/test_mockpatch.py @@ -13,7 +13,11 @@ # under the License. -import mock # Yes, we only test the rolling backport +try: + import mock # Yes, we only test the rolling backport +except ImportError: + import unittest + raise unittest.SkipTest("mock not available") import testtools from fixtures import (
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