summaryrefslogtreecommitdiff
path: root/pecan/tests/test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pecan/tests/test_base.py')
-rw-r--r--pecan/tests/test_base.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/pecan/tests/test_base.py b/pecan/tests/test_base.py
index 1369837..6cc0f3c 100644
--- a/pecan/tests/test_base.py
+++ b/pecan/tests/test_base.py
@@ -2,10 +2,6 @@ import sys
import os
import json
import warnings
-if sys.version_info < (2, 7):
- import unittest2 as unittest # pragma: nocover
-else:
- import unittest # pragma: nocover
import webob
from webob.exc import HTTPNotFound
@@ -25,6 +21,11 @@ from pecan.templating import (
from pecan.decorators import accept_noncanonical
from pecan.tests import PecanTestCase
+if sys.version_info < (2, 7):
+ import unittest2 as unittest # pragma: nocover
+else:
+ import unittest # pragma: nocover
+
class SampleRootController(object):
pass