aboutsummaryrefslogtreecommitdiffstats
path: root/tests/richstring_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/richstring_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/richstring_test.py')
-rw-r--r--tests/richstring_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/richstring_test.py b/tests/richstring_test.py
index b9ca3d2..f2bed5e 100644
--- a/tests/richstring_test.py
+++ b/tests/richstring_test.py
@@ -2,7 +2,7 @@
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license.php
-from unittest import TestCase
+from testcompat import TestCase
from screenplain.richstring import (
RichString, Segment,
Bold, Italic,