Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1001

Python tests fail in environments without unittest2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-0.11.0
    • None
    • None

    Description

      Provide compatibility with python 2.6:

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

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            jross Justin Ross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: