[ 
https://issues.apache.org/jira/browse/PROTON-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903012#comment-14903012
 ] 

Bozo Dragojevic commented on PROTON-1001:
-----------------------------------------

you can also just pip install unittest2

> 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
>            Assignee: Ken Giusti
>
> 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)

Reply via email to