aboutsummaryrefslogtreecommitdiffstats
path: root/tests/richstring_test.py
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2020-02-12 23:24:23 +0100
committerMartin Vilcans <martin@librador.com>2020-02-12 23:24:23 +0100
commit7c786ef7d69c9b364214e10490183bc207c24e5a (patch)
tree29131ddf119dfa2a7ae96447ff2f3e27a6d94536 /tests/richstring_test.py
parent1f2121726e709c8445ecd793eca89387d5b78145 (diff)
parenteb73207913915be7131256a1ed80d2402ecf6ad6 (diff)
downloadscreenplain-7c786ef7d69c9b364214e10490183bc207c24e5a.tar.gz
Merge branch 'remove-py2'
Diffstat (limited to 'tests/richstring_test.py')
-rw-r--r--tests/richstring_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/richstring_test.py b/tests/richstring_test.py
index ee42087..82b2af0 100644
--- a/tests/richstring_test.py
+++ b/tests/richstring_test.py
@@ -3,7 +3,6 @@
# http://www.opensource.org/licenses/mit-license.php
from testcompat import TestCase
-import six
from screenplain.richstring import (
RichString, Segment,
Bold, Italic,
@@ -39,7 +38,7 @@ class RichStringOperatorTests(TestCase):
s = bold('Hello') + plain(' there ') + bold('folks')
self.assertEquals(
u'Hello there folks',
- six.text_type(s)
+ str(s)
)
def test_eq(self):