File nose-fix-skip-test-plugin.patch of Package python-nose

Index: python-nose/nose-1.3.1/nose/plugins/skip.py
===================================================================
--- python-nose.orig/nose-1.3.1/nose/plugins/skip.py
+++ python-nose/nose-1.3.1/nose/plugins/skip.py
@@ -12,19 +12,14 @@ from nose.plugins.errorclass import Erro
 # on SkipTest:
 #  - unittest SkipTest is first preference, but it's only available
 #    for >= 2.7
-#  - unittest2 SkipTest is second preference for older pythons.  This
-#    mirrors logic for choosing SkipTest exception in testtools
-#  - if none of the above, provide custom class
+#  - for python <= 2.6 provide custom class SkipTest
 try:
     from unittest.case import SkipTest
 except ImportError:
-    try:
-        from unittest2.case import SkipTest
-    except ImportError:
-        class SkipTest(Exception):
-            """Raise this exception to mark a test as skipped.
-            """
-            pass
+    class SkipTest(Exception):
+        """Raise this exception to mark a test as skipped.
+        """
+        pass
 
 
 class Skip(ErrorClassPlugin):
openSUSE Build Service is sponsored by