From fa3fe86ac1e07506cfb51de937c1c18070baa634 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Tue, 5 Jul 2016 02:06:13 -0400 Subject: [PATCH] remove bytes() wrap from test helper fixture It was already bytes, so this was redundant. It also broke the tests on windows with py3. --- test/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper.py b/test/helper.py index 3f187d76e..ae6dc4fbd 100644 --- a/test/helper.py +++ b/test/helper.py @@ -366,7 +366,7 @@ class TestHelper(object): items = [] path = os.path.join(_common.RSRC, util.bytestring_path('full.' + ext)) for i in range(track_count): - item = Item.from_path(bytes(path)) + item = Item.from_path(path) item.album = u'\u00e4lbum' # Check unicode paths item.title = u't\u00eftle {0}'.format(i) item.add(self.lib)