Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
python-freezegun
remove_dependency_on_mock.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File remove_dependency_on_mock.patch of Package python-freezegun
--- a/tests/test_ticking.py +++ b/tests/test_ticking.py @@ -1,7 +1,10 @@ import datetime import time -import mock import pytest +try: + import mock +except ImportError: + import unittest.mock as mock from freezegun import freeze_time from tests import utils --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,6 +1,9 @@ from unittest import SkipTest -import mock +try: + import mock +except ImportError: + import unittest.mock as mock from freezegun import api from tests import utils
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