diff options
author | Martin Vilcans <martin@librador.com> | 2020-02-12 23:21:51 +0100 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2020-02-12 23:23:00 +0100 |
commit | eb73207913915be7131256a1ed80d2402ecf6ad6 (patch) | |
tree | 29131ddf119dfa2a7ae96447ff2f3e27a6d94536 /tests | |
parent | 5d6b4683b7a4058b7f12dcc294eec5e2f41cda6f (diff) | |
download | screenplain-eb73207913915be7131256a1ed80d2402ecf6ad6.tar.gz |
Removing Python 2 support - no need for six #54
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fdx_test.py | 2 | ||||
-rw-r--r-- | tests/fountain_test.py | 2 | ||||
-rw-r--r-- | tests/richstring_test.py | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/tests/fdx_test.py b/tests/fdx_test.py index 497f908..3a3c8f7 100644 --- a/tests/fdx_test.py +++ b/tests/fdx_test.py @@ -3,7 +3,7 @@ # http://www.opensource.org/licenses/mit-license.php from testcompat import TestCase -from six import StringIO +from io import StringIO from screenplain.export.fdx import write_text from screenplain.richstring import plain, bold, italic diff --git a/tests/fountain_test.py b/tests/fountain_test.py index c31cc66..141772a 100644 --- a/tests/fountain_test.py +++ b/tests/fountain_test.py @@ -9,7 +9,7 @@ from screenplain.types import ( Slug, Action, Dialog, DualDialog, Transition, Section, PageBreak ) from screenplain.richstring import plain, italic, empty_string -from six import StringIO +from io import StringIO def parse(lines): 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): |