qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1001) Python tests fail in environments without unittest2
Date Tue, 22 Sep 2015 22:20:04 GMT

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

ASF subversion and git services commented on PROTON-1001:
---------------------------------------------------------

Commit ed785461a07be3f36c7e20e0b62fce2351232be8 in qpid-proton's branch refs/heads/master
from [~kgiusti]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=ed78546 ]

PROTON-1001: define a SkipTest object if unittest and unittest2 not available


> 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)

Mime
View raw message