diff options
Diffstat (limited to 'test/test_output.py')
-rw-r--r-- | test/test_output.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test_output.py b/test/test_output.py index 1105b84..3762408 100644 --- a/test/test_output.py +++ b/test/test_output.py @@ -5,14 +5,11 @@ Test general output functionality. Without much stress on the format itself. """ from __future__ import absolute_import, print_function, unicode_literals -try: - import unittest2 as unittest -except ImportError: - import unittest import yamlish import yaml import logging import tempfile +import unittest OUT = """--- bill-to: @@ -74,6 +71,7 @@ IN = { 'total': 4443.52 } + class TestOuptut(unittest.TestCase): def setUp(self): """ @@ -81,7 +79,6 @@ class TestOuptut(unittest.TestCase): """ self._expected = yaml.safe_load(OUT) - def test_file_output(self): """ Test output to a file. @@ -95,7 +92,6 @@ class TestOuptut(unittest.TestCase): got = yaml.safe_load(got_str) self.assertEqual(got, self._expected, "Result matches") - def test_string_output(self): """ Test output to a string. |