qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Ross (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-1001) Python tests fail in environments without unittest2
Date Tue, 22 Sep 2015 14:53:04 GMT
Justin Ross created PROTON-1001:
-----------------------------------

             Summary: Python tests fail in environments without unittest2
                 Key: PROTON-1001
                 URL: https://issues.apache.org/jira/browse/PROTON-1001
             Project: Qpid Proton
          Issue Type: Bug
            Reporter: Justin Ross


Provide compatibility with python 2.6:

import unittest
try:
  from unittest import SkipTest
except:
   try:
       from unittest2 import SkipTest
   except:
       class SkipTest(Exception):
           pass




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message