summaryrefslogtreecommitdiff
path: root/tests/11_test_dch_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/11_test_dch_main.py')
-rw-r--r--tests/11_test_dch_main.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/11_test_dch_main.py b/tests/11_test_dch_main.py
index 9bdc5c5b..9394b8fe 100644
--- a/tests/11_test_dch_main.py
+++ b/tests/11_test_dch_main.py
@@ -4,15 +4,9 @@
from . import context
-# Try unittest2 for CentOS
-try:
- import unittest2 as unittest
-except ImportError:
- import unittest
-
-from tests.testutils import (DebianGitTestRepo, OsReleaseFile,
- get_dch_default_urgency)
-
+from .testutils import (DebianGitTestRepo, OsReleaseFile,
+ get_dch_default_urgency)
+import unittest
from gbp.scripts import dch
import os