You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2015/09/22 16:53:04 UTC

[jira] [Created] (PROTON-1001) Python tests fail in environments without unittest2

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)