Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:branches:devel:languages:python
python-testtools
py3-no-linecache2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File py3-no-linecache2.patch of Package python-testtools
Index: testtools-2.3.0/testtools/tests/test_compat.py =================================================================== --- testtools-2.3.0.orig/testtools/tests/test_compat.py +++ testtools-2.3.0/testtools/tests/test_compat.py @@ -3,7 +3,10 @@ """Tests for miscellaneous compatibility functions""" import io -import linecache2 as linecache +try: + import linecache2 as linecache +except ImportError: + import linecache import os import sys import tempfile
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