aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files_test.py
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2013-08-13 18:34:19 +0200
committerMartin Vilcans <martin@librador.com>2013-08-13 18:34:19 +0200
commit121dd5374458b38b2ab2a7e2acf30f5256a8d251 (patch)
treeacf3e33955bbfe90ed2d3f33b73791e76d901cad /tests/files_test.py
parentbc51cf3d658cfe00ce5b154f51d750283bea6a6e (diff)
downloadscreenplain-121dd5374458b38b2ab2a7e2acf30f5256a8d251.tar.gz
Removed dependency on unittest2
I think I don't use its features and it doesn't exist under that name in Python 3.
Diffstat (limited to 'tests/files_test.py')
-rw-r--r--tests/files_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/files_test.py b/tests/files_test.py
index 63c4fa6..dc799bc 100644
--- a/tests/files_test.py
+++ b/tests/files_test.py
@@ -4,7 +4,7 @@
from __future__ import with_statement
-import unittest2
+from unittest import TestCase
import tempfile
import os
import os.path
@@ -36,7 +36,7 @@ def clean_string(s):
return spaces_re.sub(' ', line_break_re.sub('\n', s))
-class FileTests(unittest2.TestCase):
+class FileTests(TestCase):
"""High level tests that runs Screenplain using command line arguments.
"""