Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-pydata-google-auth
no-six.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File no-six.patch of Package python-pydata-google-auth
Index: pydata-google-auth-1.8.2/tests/unit/test_cache.py =================================================================== --- pydata-google-auth-1.8.2.orig/tests/unit/test_cache.py +++ pydata-google-auth-1.8.2/tests/unit/test_cache.py @@ -7,7 +7,10 @@ import os.path import pytest import google.oauth2.credentials -from six.moves import reload_module +try: + from importlib import reload +except ImportError: # Py2 compat + from six.moves import reload_module as reload @pytest.fixture @@ -29,7 +32,7 @@ def test_import_unwriteable_fs(module_un monkeypatch.setattr(os.path, "exists", lambda _: False) monkeypatch.setattr(os, "makedirs", raise_unwriteable) - reload_module(module_under_test) + reload(module_under_test) assert module_under_test.NOOP is not None
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