Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
python-discover
bug-79-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-79-fix.patch of Package python-discover
diff -r b2efb7df637b discover.py --- a/discover.py Thu Mar 24 00:31:02 2011 -0400 +++ b/discover.py Thu Nov 28 12:02:19 2013 +0000 @@ -82,7 +82,11 @@ """ testMethodPrefix = 'test' sortTestMethodsUsing = cmp - suiteClass = unittest.TestSuite + try: + import unittest2 + suiteClass = unittest2.TestSuite + except ImportError: + suiteClass = unittest.TestSuite _top_level_dir = None def loadTestsFromTestCase(self, testCaseClass):
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