You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2015/11/30 15:32:10 UTC

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

     [ https://issues.apache.org/jira/browse/PROTON-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti resolved PROTON-1001.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11

> 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
>             Fix For: 0.11
>
>
> 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)