diff options
Diffstat (limited to 'pecan/tests/test_secure.py')
-rw-r--r-- | pecan/tests/test_secure.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pecan/tests/test_secure.py b/pecan/tests/test_secure.py index abd4518..749d045 100644 --- a/pecan/tests/test_secure.py +++ b/pecan/tests/test_secure.py @@ -1,8 +1,14 @@ -import unittest +import sys + +if sys.version_info < (2, 7): + import unittest2 as unittest +else: + import unittest # noqa + +from webtest import TestApp from pecan import expose, make_app from pecan.secure import secure, unlocked, SecureController -from webtest import TestApp try: set() |