Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:marec2000:python:backports
python-flake8-polyfill
python-flake8-polyfill-use-unittest-mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-flake8-polyfill-use-unittest-mock.patch of Package python-flake8-polyfill
Index: flake8-polyfill-1.0.2/tests/test_options.py =================================================================== --- flake8-polyfill-1.0.2.orig/tests/test_options.py 2017-12-30 14:45:28.000000000 +0100 +++ flake8-polyfill-1.0.2/tests/test_options.py 2021-05-19 09:45:18.723426614 +0200 @@ -2,7 +2,10 @@ import optparse import os -import mock +try: + import unittest.mock as mock +except ImportError: + import mock import pytest from flake8_polyfill import options
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