aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_load.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_load.py')
-rw-r--r--test/test_load.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_load.py b/test/test_load.py
index 7a76ae1..0b16044 100644
--- a/test/test_load.py
+++ b/test/test_load.py
@@ -1,15 +1,14 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
-try:
- import unittest2 as unittest
-except ImportError:
- import unittest
+import unittest
+
class TestBasics(unittest.TestCase):
def test_import(self):
import yamlish
self.assertTrue(yamlish.__version__,
- "Testing import of yamlish, version %s." % yamlish.__version__)
+ "Testing import of yamlish, version %s."
+ % yamlish.__version__)
if __name__ == "__main__":
unittest.main()