This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 981ec3e  PROTON-2319: A (hopefully) final piece of python 2.6 detritus
981ec3e is described below

commit 981ec3ed91b5630462acbdaebe064adcd8d9386a
Author: Andrew Stitcher <astitc...@apache.org>
AuthorDate: Wed Jan 13 15:19:08 2021 -0500

    PROTON-2319: A (hopefully) final piece of python 2.6 detritus
    
     Please enter the commit message for your changes. Lines startin
---
 python/tests/proton_tests/common.py | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/python/tests/proton_tests/common.py 
b/python/tests/proton_tests/common.py
index a56a2c0..89d90bd 100644
--- a/python/tests/proton_tests/common.py
+++ b/python/tests/proton_tests/common.py
@@ -20,14 +20,7 @@
 from __future__ import absolute_import
 
 from unittest import TestCase
-try:
-  from unittest import SkipTest
-except:
-  try:
-    from unittest2 import SkipTest
-  except:
-    class SkipTest(Exception):
-      pass
+from unittest import SkipTest
 
 import sys, os, subprocess
 from random import randint


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to