Skip to content

Commit

Permalink
#6 replace StringIO with BytesIO
Browse files Browse the repository at this point in the history
  • Loading branch information
walcovanloon committed Jun 17, 2022
1 parent c2a1c6a commit cb2d509
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tests/aksy/devices/akai/tests/test_filebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from aksy.devices.akai.filemodel import Zone
from aksy.devices.akai.filemodel import Keygroup
import unittest
from io import StringIO
from io import BytesIO


class TestZoneBuilder(unittest.TestCase):
def testBuild(self):
Expand All @@ -21,7 +22,7 @@ def testWrite(self):
zones = [Zone()] * 4
keygroups = [Keygroup(zones)] * 4
program = Program.create_default(keygroups)
out = StringIO()
out = BytesIO()
writer.write(program, out)

def test_suite():
Expand Down

0 comments on commit cb2d509

Please sign in to comment.