summaryrefslogtreecommitdiffstats
path: root/testsuite/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/common.py')
-rw-r--r--testsuite/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/common.py b/testsuite/common.py
index a86e9c5d9..4b29e5f52 100644
--- a/testsuite/common.py
+++ b/testsuite/common.py
@@ -16,9 +16,9 @@ import lxml.etree
import Bcfg2.Options
from mock import patch, MagicMock, _patch, DEFAULT
try:
- from unittest import skip, skipIf, skipUnless, TestCase
-except ImportError:
from unittest2 import skip, skipIf, skipUnless, TestCase
+except ImportError:
+ from unittest import skip, skipIf, skipUnless, TestCase
#: The XInclude namespace name
XI_NAMESPACE = "http://www.w3.org/2001/XInclude"