Skip to content

Commit

Permalink
Use BytesIO instead of StringIO
Browse files Browse the repository at this point in the history
  • Loading branch information
dufferzafar committed Jun 5, 2016
1 parent cff54ed commit 435bfec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pathod/test_language_actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from six.moves import cStringIO as StringIO
from six import BytesIO

from pathod.language import actions
from pathod import language
Expand Down Expand Up @@ -61,7 +61,7 @@ def test_at(self):
assert v.offset == "r"

def test_serve(self):
s = StringIO()
s = BytesIO()
r = next(language.parse_pathod("400:i0,'foo'"))
assert language.serve(r, s, {})

Expand Down

0 comments on commit 435bfec

Please sign in to comment.