aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fountain_test.py
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2013-08-13 18:51:32 +0200
committerMartin Vilcans <martin@librador.com>2013-08-13 18:51:32 +0200
commitdf008aca56897bbb96272a730fe259d0e9b98996 (patch)
tree6ef9194a5f39ad160240283484c4e573aebecdce /tests/fountain_test.py
parent121dd5374458b38b2ab2a7e2acf30f5256a8d251 (diff)
downloadscreenplain-df008aca56897bbb96272a730fe259d0e9b98996.tar.gz
Use unittest2 if available but don't require it.
The features of unittest2 are already in Python >=2.7.
Diffstat (limited to 'tests/fountain_test.py')
-rw-r--r--tests/fountain_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fountain_test.py b/tests/fountain_test.py
index 5095e4e..e265da9 100644
--- a/tests/fountain_test.py
+++ b/tests/fountain_test.py
@@ -2,7 +2,8 @@
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
-from unittest import TestCase
+from testcompat import TestCase
+
from screenplain.parsers import fountain
from screenplain.types import (
Slug, Action, Dialog, DualDialog, Transition, Section, PageBreak